]> git.saurik.com Git - android/aapt.git/commitdiff
Fix build on some linux machines
authorhmepas <hmepas@gmail.com>
Wed, 21 Jan 2009 15:41:00 +0000 (07:41 -0800)
committerJean-Baptiste Queru <jbq@google.com>
Wed, 11 Aug 2010 16:08:51 +0000 (09:08 -0700)
This adds -lpthread on linux for aapt and localize, which appear to be
needed on some linux distros.

Signed-off-by: Jean-Baptiste Queru <jbq@google.com>
Android.mk

index b339a2cd2eb024809bf9de0081fe4fe9160a8ccc..094b7db3b4c4c9cd7f9b46a165c4718b25fb87da 100644 (file)
@@ -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),