mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-23 15:54:21 -09:00
sngrep: fix libgcrypt handling
Fixes: http://autobuild.buildroot.net/results/f1c6494133806b9fc26ae3ce9e9c6a22fa2eda6f/ Commit6205b75873(sngrep: gnutls support also needs libgcrypt) ensured that --with-gnutls is only used when both gnutls and libgcrypt are enabled, but it didn't ensure libgcrypt gets built before sngrep or told the configure script where to find libgcrypt-config, breaking the build. Fix both issues. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commitae7d59eaae) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -23,7 +23,8 @@ SNGREP_DEPENDENCIES += openssl
|
||||
SNGREP_CONF_OPTS += --with-openssl --without-gnutls
|
||||
# gnutls support also requires libgcrypt
|
||||
else ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
|
||||
SNGREP_DEPENDENCIES += gnutls
|
||||
SNGREP_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
||||
SNGREP_DEPENDENCIES += gnutls libgcrypt
|
||||
SNGREP_CONF_OPTS += --with-gnutls --without-openssl
|
||||
else
|
||||
SNGREP_CONF_OPTS += --without-gnutls --without-openssl
|
||||
|
||||
Reference in New Issue
Block a user