mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
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>
This commit is contained in:
@@ -52,5 +52,13 @@ else
|
|||||||
IMLIB2_CONF_OPT += --without-id3
|
IMLIB2_CONF_OPT += --without-id3
|
||||||
endif
|
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))
|
$(eval $(call AUTOTARGETS))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user