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>
This commit is contained in:
Iliyan Malchev 2011-10-19 22:35:56 -07:00
parent 1810457f47
commit b5fe317b91
1 changed files with 4 additions and 0 deletions

View File

@ -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)