From bf9d5518d55e314cad2dbac0715ce151b2807691 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 2 Sep 2011 16:16:22 +0300 Subject: [PATCH] Android: Include libcrypto and libssl only if CONFIG_TLS=openssl --- wpa_supplicant/Android.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 1835dc6c7..8ce24ad9c 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -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