From: hmepas Date: Wed, 21 Jan 2009 15:41:00 +0000 (-0800) Subject: Fix build on some linux machines X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/ca72a28fca8dc0ea3224945d01977d8cc268f332?ds=sidebyside Fix build on some linux machines This adds -lpthread on linux for aapt and localize, which appear to be needed on some linux distros. Signed-off-by: Jean-Baptiste Queru --- diff --git a/Android.mk b/Android.mk index b339a2c..094b7db 100644 --- a/Android.mk +++ b/Android.mk @@ -41,7 +41,7 @@ LOCAL_STATIC_LIBRARIES := \ libpng ifeq ($(HOST_OS),linux) -LOCAL_LDLIBS += -lrt +LOCAL_LDLIBS += -lrt -lpthread endif # Statically link libz for MinGW (Win SDK under Linux),