Browse Source

libgcrypt: specify where gpg-error-config is

libgcrypt depends on libgpg-error, but it needs to know where the
gpg-error-config utility is.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 15 years ago
parent
commit
8b47ede9e6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package/libgcrypt/libgcrypt.mk

+ 2 - 1
package/libgcrypt/libgcrypt.mk

@@ -12,7 +12,8 @@ LIBGCRYPT_INSTALL_TARGET = YES
 LIBGCRYPT_CONF_ENV = \
 	ac_cv_sys_symbol_underscore=no
 LIBGCRYPT_CONF_OPT = \
-	--disable-optimization
+	--disable-optimization \
+	--with-gpg-error-prefix=$(STAGING_DIR)/usr
 
 LIBGCRYPT_DEPENDENCIES = libgpg-error