From de73cdf478dd5ad8a7ea5623673144701dd9767c Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 10 May 2010 23:39:48 +0200 Subject: [PATCH] hostapd: use internal crypto library When OpenSSL is not enabled, hostapd relies on an internal library. However, this library must be enabled, otherwise the compilation of hostapd fails with: /home/test/ctng-arm-eglibc/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.3.4/../../../../arm-unknown-linux-gnueabi/bin/ld: cannot find -ltommath Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/hostapd/hostapd.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index 2359fd3489..bde3766d77 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -45,6 +45,7 @@ endif # We take care of that in Config.in ifneq ($(BR2_PACKAGE_OPENSSL),y) echo "CONFIG_CRYPTO=internal" >>$(HOSTAPD_CONFIG) + echo "CONFIG_INTERNAL_LIBTOMMATH=y" >>$(HOSTAPD_CONFIG) echo "CONFIG_TLS=internal" >>$(HOSTAPD_CONFIG) endif # WPS -- 2.30.2