hostapd: fix build without openssl
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 23 Sep 2010 20:19:41 +0000 (22:19 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 23 Sep 2010 20:19:41 +0000 (22:19 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/hostapd/hostapd.mk

index d82603031244635a08e0b37921daa0a02fc224cc..4065d7b669cc65a0fbeca54688a681f4628b04df 100644 (file)
@@ -14,6 +14,7 @@ ifeq ($(BR2_PACKAGE_OPENSSL),y)
        HOSTAPD_DEPENDENCIES += openssl
        # OpenSSL is required for EXTRA_EAP and/or WPS
        # We take care of that in Config.in
+else
 define HOSTAPD_OPENSSL_CONF
        echo "CONFIG_CRYPTO=internal" >>$(HOSTAPD_CONFIG)
        echo "CONFIG_INTERNAL_LIBTOMMATH=y" >>$(HOSTAPD_CONFIG)