diff options
author | Iliyan Malchev <malchev@google.com> | 2011-10-19 22:35:56 -0700 |
---|---|---|
committer | Alex Ray <aray@google.com> | 2013-07-30 13:56:58 -0700 |
commit | 26ad34522e85b4427ec0ae662dd43eb78a2c5f95 (patch) | |
tree | 913a390b42ca4cff87f061103a70da098ab3bd47 | |
parent | 5cd324794ccadfefcdcde849fb6d682622773944 (diff) | |
download | core-26ad34522e85b4427ec0ae662dd43eb78a2c5f95.tar.gz core-26ad34522e85b4427ec0ae662dd43eb78a2c5f95.tar.bz2 core-26ad34522e85b4427ec0ae662dd43eb78a2c5f95.zip |
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>
-rw-r--r-- | libs/utils/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/utils/Android.mk b/libs/utils/Android.mk index 638f72f0b..831d9e378 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) |