diff options
author | Chih-Wei Huang <cwhuang@linux.org.tw> | 2013-01-01 15:24:33 +0800 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-07-11 00:41:29 +0100 |
commit | 530595cf5a60941cbd0e653cdd17c5d761e696ba (patch) | |
tree | a4bf58bdf684c0a0c2b37fd3b2006dccc3a5f936 | |
parent | 4ffddabd4311a2415b5370a8652a98594ddcbb63 (diff) | |
download | system_core-530595cf5a60941cbd0e653cdd17c5d761e696ba.zip system_core-530595cf5a60941cbd0e653cdd17c5d761e696ba.tar.gz system_core-530595cf5a60941cbd0e653cdd17c5d761e696ba.tar.bz2 |
Correct LOCAL_LDLIBS of adb
adb doesn't really use ncurses-libs, remove it.
Add -ldl for the symbols dlclose, dlerror, dlopen...
introduced from dso_dlfcn.c of libcrypto_static.a.
Change-Id: If1cc23987a9b35ec535bbf8f4e7db141b9f10af7
-rw-r--r-- | adb/Android.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/Android.mk b/adb/Android.mk index 0371d7a..6c339c8 100644 --- a/adb/Android.mk +++ b/adb/Android.mk @@ -16,7 +16,7 @@ EXTRA_SRCS := ifeq ($(HOST_OS),linux) USB_SRCS := usb_linux.c EXTRA_SRCS := get_my_path_linux.c - LOCAL_LDLIBS += -lrt -lncurses -lpthread + LOCAL_LDLIBS += -lrt -ldl -lpthread endif ifeq ($(HOST_OS),darwin) @@ -145,7 +145,7 @@ include $(BUILD_EXECUTABLE) ifneq ($(SDK_ONLY),true) include $(CLEAR_VARS) -LOCAL_LDLIBS := -lrt -lncurses -lpthread +LOCAL_LDLIBS := -lrt -ldl -lpthread LOCAL_SRC_FILES := \ adb.c \ |