diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-12-10 21:11:37 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-12-10 22:13:15 +0100 |
commit | 8ad1885adbf14bfe731873dedd4e47ef72674b17 (patch) | |
tree | da163a9f509f741053dcd5d835391b6443223996 /package/imlib2/imlib2.mk | |
parent | 5ddcdb4ceb4eba32d4e32b1e2201df2836bbabf2 (diff) | |
download | buildroot-novena-8ad1885adbf14bfe731873dedd4e47ef72674b17.tar.gz buildroot-novena-8ad1885adbf14bfe731873dedd4e47ef72674b17.zip |
imlib2: fixup imlib2-config
Ensure it doesn't add library search paths (-L<dir>) to linker flags.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/imlib2/imlib2.mk')
-rw-r--r-- | package/imlib2/imlib2.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/imlib2/imlib2.mk b/package/imlib2/imlib2.mk index 5f10503da..f32b86512 100644 --- a/package/imlib2/imlib2.mk +++ b/package/imlib2/imlib2.mk @@ -52,5 +52,13 @@ else IMLIB2_CONF_OPT += --without-id3 endif +# drop -L<dir> from linker flags +define IMLIB2_FIXUP_IMLIB2_CONFIG + $(SED) 's/-L[^ ]*//g' \ + $(STAGING_DIR)/usr/bin/imlib2-config +endef + +IMLIB2_POST_INSTALL_STAGING_HOOKS += IMLIB2_FIXUP_IMLIB2_CONFIG + $(eval $(call AUTOTARGETS)) |