commit | b5fe317b91623f63523ff9ffe82ddd8a5b3c6ef3 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Wed Oct 19 22:35:56 2011 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Thu Oct 20 16:21:25 2011 -0700 |
tree | b245a9ff87f6be013b7e43627daeda10e24c0e11 | |
parent | 1810457f4759e5f226ea2ef24e7fcab58343cf51 [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>
diff --git a/libs/utils/Android.mk b/libs/utils/Android.mk index 638f72f..831d9e3 100644 --- a/libs/utils/Android.mk +++ b/libs/utils/Android.mk
@@ -71,6 +71,10 @@ endif endif +ifeq ($(TARGET_OS),linux) +LOCAL_LDLIBS += -lrt -ldl +endif + include $(BUILD_HOST_STATIC_LIBRARY)