mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00: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:
parent
5ddcdb4ceb
commit
8ad1885adb
@ -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))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user