libgcrypt: specify where gpg-error-config is
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 9 May 2010 16:13:06 +0000 (18:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 9 May 2010 21:25:07 +0000 (23:25 +0200)
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>
package/libgcrypt/libgcrypt.mk

index ef13de75f6b5f71adb842b3ae8dcc6b642ebdfe9..646ad831941e09148e93db825a50ac5fe630d1a2 100644 (file)
@@ -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