]> git.saurik.com Git - android/aapt.git/commitdiff
add -ldl to host executables
authorIliyan Malchev <malchev@google.com>
Thu, 20 Oct 2011 05:35:56 +0000 (22:35 -0700)
committerIliyan Malchev <malchev@google.com>
Thu, 20 Oct 2011 23:21:25 +0000 (16:21 -0700)
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>
Android.mk

index a3e5d9a503b456d39e89275e3f35dcdbd6af376d..cb55a9cfd4d688ff9974460b0e4b61927f12964c 100644 (file)
@@ -44,7 +44,7 @@ LOCAL_STATIC_LIBRARIES := \
        libpng
 
 ifeq ($(HOST_OS),linux)
-LOCAL_LDLIBS += -lrt -lpthread
+LOCAL_LDLIBS += -lrt -ldl -lpthread
 endif
 
 # Statically link libz for MinGW (Win SDK under Linux),