]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Android: Include libcrypto and libssl only if CONFIG_TLS=openssl
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 2 Sep 2011 13:16:22 +0000 (16:16 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 2 Sep 2011 13:51:00 +0000 (16:51 +0300)
wpa_supplicant/Android.mk

index 1835dc6c7430ff9c29feed548e4ae9fb1d355829..8ce24ad9c69d8adb814ca799da7a36db10517a40 100644 (file)
@@ -1386,7 +1386,10 @@ endif
 ifneq ($(BOARD_WPA_SUPPLICANT_PRIVATE_LIB),)
 LOCAL_STATIC_LIBRARIES += $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB)
 endif
-LOCAL_SHARED_LIBRARIES := libc libcutils libcrypto libssl
+LOCAL_SHARED_LIBRARIES := libc libcutils
+ifeq ($(CONFIG_TLS), openssl)
+LOCAL_SHARED_LIBRARIES := libcrypto libssl
+endif
 ifdef CONFIG_DRIVER_NL80211
 LOCAL_SHARED_LIBRARIES += libnl_2
 endif