aboutsummaryrefslogtreecommitdiff
path: root/package/libgsasl
diff options
context:
space:
mode:
Diffstat (limited to 'package/libgsasl')
-rw-r--r--package/libgsasl/libgsasl.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/libgsasl/libgsasl.mk b/package/libgsasl/libgsasl.mk
index f2660ca4fa..00ce8e0375 100644
--- a/package/libgsasl/libgsasl.mk
+++ b/package/libgsasl/libgsasl.mk
@@ -9,6 +9,14 @@ LIBGSASL_SITE = $(BR2_GNU_MIRROR)/gsasl
LIBGSASL_LICENSE = LGPLv2.1+ (library), GPLv3+ (programs)
LIBGSASL_LICENSE_FILES = README COPYING.LIB COPYING
LIBGSASL_INSTALL_STAGING = YES
-LIBGSASL_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBIDN),libidn)
+# It doesn't seem to build with our libgcrypt so better be safe
+LIBGSASL_CONF_OPTS = --without-libgcrypt
+
+ifeq ($(BR2_PACKAGE_LIBIDN),y)
+LIBGSASL_CONF_OPTS += --with-libidn-prefix=$(STAGING_DIR)/usr
+LIBGSASL_DEPENDENCIES += libidn
+else
+LIBGSASL_CONF_OPTS += --without-stringprep
+endif
$(eval $(autotools-package))