summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
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
commit64ef6b47e020da5370af8897638a0a778fa52b74 (patch)
tree740353ef25502e55bae3bca6aaa81733f2fb3df9 /libs
parent63aa6622d0eb6592a582ac28078404bfc411bcef (diff)
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 'libs')
-rw-r--r--libs/utils/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/utils/Android.mk b/libs/utils/Android.mk
index 638f72f0b66a..831d9e37890c 100644
--- a/libs/utils/Android.mk
+++ b/libs/utils/Android.mk
@@ -71,6 +71,10 @@ LOCAL_CFLAGS += -DMB_CUR_MAX=1
endif
endif
+ifeq ($(TARGET_OS),linux)
+LOCAL_LDLIBS += -lrt -ldl
+endif
+
include $(BUILD_HOST_STATIC_LIBRARY)