libvncserver: ensure target libgcrypt-config is used

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-02-13 11:26:42 +01:00
parent 8b67554a3f
commit 08bd8712ef

View 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