mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
cups: cleanup cups-config handling
Includedir and rpath fixes are not needed. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -55,16 +55,10 @@ CUPS_DEPENDENCIES += host-autoconf
|
|||||||
|
|
||||||
CUPS_PRE_CONFIGURE_HOOKS += CUPS_FIXUP_AUTOCONF
|
CUPS_PRE_CONFIGURE_HOOKS += CUPS_FIXUP_AUTOCONF
|
||||||
|
|
||||||
# Fixup prefix= and exec_prefix= in cups-config, and remove the
|
# Fixup prefix= and exec_prefix= in cups-config
|
||||||
# -Wl,-rpath option.
|
|
||||||
define CUPS_FIXUP_CUPS_CONFIG
|
define CUPS_FIXUP_CUPS_CONFIG
|
||||||
$(SED) 's%prefix=/usr%prefix=$(STAGING_DIR)/usr%' \
|
$(SED) 's%^prefix=/usr%prefix=$(STAGING_DIR)/usr%' \
|
||||||
$(STAGING_DIR)/usr/bin/cups-config
|
-e 's%^exec_prefix=/usr%exec_prefix=$(STAGING_DIR)/usr%' \
|
||||||
$(SED) 's%exec_prefix=/usr%exec_prefix=$(STAGING_DIR)/usr%' \
|
|
||||||
$(STAGING_DIR)/usr/bin/cups-config
|
|
||||||
$(SED) "s%includedir=.*%includedir=$(STAGING_DIR)/usr/include%" \
|
|
||||||
$(STAGING_DIR)/usr/bin/cups-config
|
|
||||||
$(SED) 's%-Wl,-rpath,\$${libdir}%%' \
|
|
||||||
$(STAGING_DIR)/usr/bin/cups-config
|
$(STAGING_DIR)/usr/bin/cups-config
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user