system/core
Revision | bee71105aa667c62a953cdf18ef641b8e046e785 (tree) |
---|---|
Zeit | 2013-02-23 21:58:14 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
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
@@ -16,7 +16,7 @@ EXTRA_SRCS := | ||
16 | 16 | ifeq ($(HOST_OS),linux) |
17 | 17 | USB_SRCS := usb_linux.c |
18 | 18 | EXTRA_SRCS := get_my_path_linux.c |
19 | - LOCAL_LDLIBS += -lrt -lncurses -lpthread | |
19 | + LOCAL_LDLIBS += -lrt -ldl -lpthread | |
20 | 20 | endif |
21 | 21 | |
22 | 22 | ifeq ($(HOST_OS),darwin) |
@@ -150,7 +150,7 @@ endif | ||
150 | 150 | ifneq ($(SDK_ONLY),true) |
151 | 151 | include $(CLEAR_VARS) |
152 | 152 | |
153 | -LOCAL_LDLIBS := -lrt -lncurses -lpthread | |
153 | +LOCAL_LDLIBS := -lrt -ldl -lpthread | |
154 | 154 | |
155 | 155 | LOCAL_SRC_FILES := \ |
156 | 156 | adb.c \ |