libvncserver: ensure target libgcrypt-config is used
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 13 Feb 2012 10:26:42 +0000 (11:26 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 13 Feb 2012 10:26:42 +0000 (11:26 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libvncserver/libvncserver.mk

index c98fba3db590338faf5be87a678ebcf20a578112..90c021d9c69e4453ebaede7dd409c91d55bf503f 100644 (file)
@@ -24,6 +24,7 @@ LIBVNCSERVER_CONF_OPT += --without-crypto
 endif
 
 ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
+LIBVNCSERVER_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
 LIBVNCSERVER_DEPENDENCIES += libgcrypt
 else
 LIBVNCSERVER_CONF_OPT += --without-gcrypt