• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/core


Commit MetaInfo

Revisionbee71105aa667c62a953cdf18ef641b8e046e785 (tree)
Zeit2013-02-23 21:58:14
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

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

Ändern Zusammenfassung

Diff

--- a/adb/Android.mk
+++ b/adb/Android.mk
@@ -16,7 +16,7 @@ EXTRA_SRCS :=
1616 ifeq ($(HOST_OS),linux)
1717 USB_SRCS := usb_linux.c
1818 EXTRA_SRCS := get_my_path_linux.c
19- LOCAL_LDLIBS += -lrt -lncurses -lpthread
19+ LOCAL_LDLIBS += -lrt -ldl -lpthread
2020 endif
2121
2222 ifeq ($(HOST_OS),darwin)
@@ -150,7 +150,7 @@ endif
150150 ifneq ($(SDK_ONLY),true)
151151 include $(CLEAR_VARS)
152152
153-LOCAL_LDLIBS := -lrt -lncurses -lpthread
153+LOCAL_LDLIBS := -lrt -ldl -lpthread
154154
155155 LOCAL_SRC_FILES := \
156156 adb.c \