commit | 26ad34522e85b4427ec0ae662dd43eb78a2c5f95 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Wed Oct 19 22:35:56 2011 -0700 |
committer | Alex Ray <aray@google.com> | Tue Jul 30 13:56:58 2013 -0700 |
tree | 913a390b42ca4cff87f061103a70da098ab3bd47 | |
parent | 5cd324794ccadfefcdcde849fb6d682622773944 [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)