diff options
author | Iliyan Malchev <malchev@google.com> | 2011-10-19 22:35:56 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-10-20 16:21:25 -0700 |
commit | 64ef6b47e020da5370af8897638a0a778fa52b74 (patch) | |
tree | 740353ef25502e55bae3bca6aaa81733f2fb3df9 /tools | |
parent | 63aa6622d0eb6592a582ac28078404bfc411bcef (diff) | |
download | frameworks_base-64ef6b47e020da5370af8897638a0a778fa52b74.zip frameworks_base-64ef6b47e020da5370af8897638a0a778fa52b74.tar.gz frameworks_base-64ef6b47e020da5370af8897638a0a778fa52b74.tar.bz2 |
add -ldl to host executables
This fixes the build on Linux when RefBase is compiled with reference tracking
enabled.
Change-Id: I3e931e0b463ce836f6fdb30c37068d77144631a3
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/aapt/Android.mk | 2 | ||||
-rw-r--r-- | tools/localize/Android.mk | 2 | ||||
-rw-r--r-- | tools/obbtool/Android.mk | 2 | ||||
-rw-r--r-- | tools/validatekeymaps/Android.mk | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/aapt/Android.mk b/tools/aapt/Android.mk index a3e5d9a..cb55a9c 100644 --- a/tools/aapt/Android.mk +++ b/tools/aapt/Android.mk @@ -44,7 +44,7 @@ LOCAL_STATIC_LIBRARIES := \ libpng ifeq ($(HOST_OS),linux) -LOCAL_LDLIBS += -lrt -lpthread +LOCAL_LDLIBS += -lrt -ldl -lpthread endif # Statically link libz for MinGW (Win SDK under Linux), diff --git a/tools/localize/Android.mk b/tools/localize/Android.mk index f284e86..5ec9feb 100644 --- a/tools/localize/Android.mk +++ b/tools/localize/Android.mk @@ -34,7 +34,7 @@ LOCAL_STATIC_LIBRARIES := \ libcutils ifeq ($(HOST_OS),linux) -LOCAL_LDLIBS += -lrt -lpthread +LOCAL_LDLIBS += -lrt -ldl -lpthread endif diff --git a/tools/obbtool/Android.mk b/tools/obbtool/Android.mk index d118bd7..72a9858 100644 --- a/tools/obbtool/Android.mk +++ b/tools/obbtool/Android.mk @@ -22,7 +22,7 @@ LOCAL_STATIC_LIBRARIES := \ libcutils ifeq ($(HOST_OS),linux) -LOCAL_LDLIBS += -lpthread +LOCAL_LDLIBS += -ldl -lpthread endif LOCAL_MODULE := obbtool diff --git a/tools/validatekeymaps/Android.mk b/tools/validatekeymaps/Android.mk index 90979e1..1368a07 100644 --- a/tools/validatekeymaps/Android.mk +++ b/tools/validatekeymaps/Android.mk @@ -23,7 +23,7 @@ LOCAL_STATIC_LIBRARIES := \ libcutils ifeq ($(HOST_OS),linux) -LOCAL_LDLIBS += -lpthread +LOCAL_LDLIBS += -ldl -lpthread endif LOCAL_MODULE := validatekeymaps |