From: Iliyan Malchev Date: Thu, 20 Oct 2011 05:35:56 +0000 (-0700) Subject: add -ldl to host executables X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/c356a30a57798dcef0299c9cd492927ef133b771?hp=--cc 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 --- c356a30a57798dcef0299c9cd492927ef133b771 diff --git a/Android.mk b/Android.mk index a3e5d9a..cb55a9c 100644 --- a/Android.mk +++ b/Android.mk @@ -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),