giblib: fix giblib-config
[Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
bdcbd9fb3d
commit
5a6f270344
@ -13,4 +13,12 @@ GIBLIB_AUTORECONF_OPT = --install
|
||||
GIBLIB_CONF_OPT = --with-imlib2-prefix=$(STAGING_DIR)/usr \
|
||||
--with-imlib2-exec-prefix=$(STAGING_DIR)/usr
|
||||
|
||||
define GIBLIB_STAGING_GIBLIB_CONFIG_FIXUP
|
||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
$(STAGING_DIR)/usr/bin/giblib-config
|
||||
endef
|
||||
|
||||
GIBLIB_POST_INSTALL_STAGING_HOOKS += GIBLIB_STAGING_GIBLIB_CONFIG_FIXUP
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user