diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 22aeb957e..04fd77112 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -33,7 +33,7 @@ INCLUDES += $(LOCAL_PATH)/src/utils INCLUDES += external/openssl/include INCLUDES += frameworks/base/cmds/keystore ifdef CONFIG_DRIVER_NL80211 -INCLUDES += external/libnl_2/include +INCLUDES += external/libnl-headers endif @@ -818,7 +818,7 @@ LOCAL_STATIC_LIBRARIES += $(BOARD_HOSTAPD_PRIVATE_LIB) endif LOCAL_SHARED_LIBRARIES := libc libcutils libcrypto libssl ifdef CONFIG_DRIVER_NL80211 -LOCAL_SHARED_LIBRARIES += libnl_2 +LOCAL_STATIC_LIBRARIES += libnl_2 endif LOCAL_CFLAGS := $(L_CFLAGS) LOCAL_SRC_FILES := $(OBJS) diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index d2fa7db55..ef5105fdd 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -68,7 +68,7 @@ INCLUDES += $(LOCAL_PATH)/src/wps INCLUDES += external/openssl/include INCLUDES += frameworks/base/cmds/keystore ifdef CONFIG_DRIVER_NL80211 -INCLUDES += external/libnl_2/include +INCLUDES += external/libnl-headers endif OBJS = config.c @@ -1427,7 +1427,7 @@ ifeq ($(CONFIG_TLS), openssl) LOCAL_SHARED_LIBRARIES += libcrypto libssl endif ifdef CONFIG_DRIVER_NL80211 -LOCAL_SHARED_LIBRARIES += libnl_2 +LOCAL_STATIC_LIBRARIES += libnl_2 endif LOCAL_CFLAGS := $(L_CFLAGS) LOCAL_SRC_FILES := $(OBJS)