Android: Include libcrypto and libssl only if CONFIG_TLS=openssl
This commit is contained in:
parent
83180479f0
commit
bf9d5518d5
1 changed files with 4 additions and 1 deletions
|
@ -1386,7 +1386,10 @@ endif
|
||||||
ifneq ($(BOARD_WPA_SUPPLICANT_PRIVATE_LIB),)
|
ifneq ($(BOARD_WPA_SUPPLICANT_PRIVATE_LIB),)
|
||||||
LOCAL_STATIC_LIBRARIES += $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB)
|
LOCAL_STATIC_LIBRARIES += $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB)
|
||||||
endif
|
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
|
ifdef CONFIG_DRIVER_NL80211
|
||||||
LOCAL_SHARED_LIBRARIES += libnl_2
|
LOCAL_SHARED_LIBRARIES += libnl_2
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue