libgcrypt: fix libgcrypt-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
6ba5ac89f8
commit
857413845e
@ -25,5 +25,13 @@ endef
|
||||
|
||||
LIBGCRYPT_POST_PATCH_HOOKS += LIBGCRYPT_DISABLE_TESTS
|
||||
|
||||
define LIBGCRYPT_STAGING_LIBGCRYPT_CONFIG_FIXUP
|
||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
$(STAGING_DIR)/usr/bin/libgcrypt-config
|
||||
endef
|
||||
|
||||
LIBGCRYPT_POST_INSTALL_STAGING_HOOKS += LIBGCRYPT_STAGING_LIBGCRYPT_CONFIG_FIXUP
|
||||
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user