]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
eap_proxy: Extend Android.mk to support additional libraries
authorNaresh Jayaram <c_njayar@qti.qualcomm.com>
Tue, 3 Dec 2013 06:37:24 +0000 (12:07 +0530)
committerJouni Malinen <j@w1.fi>
Sun, 8 Dec 2013 00:54:24 +0000 (16:54 -0800)
Allow addition static and shared libraries to be specified from the
eap_proxy_*.mk file for Android build. In addition use $(LOCAL_PATH) as
a prefix for that Android makefile part.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/Android.mk

index 373a344b42b9cd8c76c1296285cda312f9279bc4..a030a0bbf598eed15db39ca64845ca94c899bd4b 100644 (file)
@@ -504,7 +504,7 @@ endif
 ifdef CONFIG_EAP_PROXY
 L_CFLAGS += -DCONFIG_EAP_PROXY
 OBJS += src/eap_peer/eap_proxy_$(CONFIG_EAP_PROXY).c
-include eap_proxy_$(CONFIG_EAP_PROXY).mk
+include $(LOCAL_PATH)/eap_proxy_$(CONFIG_EAP_PROXY).mk
 CONFIG_IEEE8021X_EAPOL=y
 endif
 
@@ -1559,6 +1559,10 @@ ifneq ($(BOARD_WPA_SUPPLICANT_PRIVATE_LIB),)
 LOCAL_STATIC_LIBRARIES += $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB)
 endif
 LOCAL_SHARED_LIBRARIES := libc libcutils liblog
+ifdef CONFIG_EAP_PROXY
+LOCAL_STATIC_LIBRARIES += $(LIB_STATIC_EAP_PROXY)
+LOCAL_SHARED_LIBRARIES += $(LIB_SHARED_EAP_PROXY)
+endif
 ifeq ($(CONFIG_TLS), openssl)
 LOCAL_SHARED_LIBRARIES += libcrypto libssl libkeystore_binder
 endif