libnl_2: compile as shared library as well

Change-Id: I103155b08a16b512a582ee2c4ffc9d6f8a1e1c6a
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Iliyan Malchev 2012-06-08 10:41:34 -07:00
parent 0f3974c3d0
commit db7462f8d1
1 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,11 @@
#######################################
# * Netlink cache not implemented
# * Library is not thread safe
#######################################
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
@ -22,9 +28,10 @@ LOCAL_MODULE := libnl_2
LOCAL_MODULE_TAGS := optional
include $(BUILD_STATIC_LIBRARY)
#######################################
# Shared library currently unavailiable
# * Netlink cache not implemented
# * Library is not thread safe
#######################################
include $(CLEAR_VARS)
LOCAL_SRC_FILES :=
LOCAL_WHOLE_STATIC_LIBRARIES:= libnl_2
LOCAL_SHARED_LIBRARIES:= liblog
LOCAL_MODULE := libnl_2
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)