summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2013-01-01 15:24:33 +0800
committerChih-Wei Huang <cwhuang@android-x86.org>2013-01-01 15:57:40 +0800
commit9c607552077321d9b6b2e29dab8a6e276bffb457 (patch)
treeb655592199369da6ff325cc3a284d528fbf92ea5 /adb
parent38219ee6116943269b0501a1a0210c76e2ba69c3 (diff)
downloadsystem_core-9c607552077321d9b6b2e29dab8a6e276bffb457.zip
system_core-9c607552077321d9b6b2e29dab8a6e276bffb457.tar.gz
system_core-9c607552077321d9b6b2e29dab8a6e276bffb457.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
Diffstat (limited to 'adb')
-rw-r--r--adb/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/Android.mk b/adb/Android.mk
index bc8315e..32dd95a 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)
@@ -139,7 +139,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 \