summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-08-21 12:58:45 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-21 12:58:45 -0700
commitcd3050c541f665ee4b8462d1ccdabfe1ed2dbf4a (patch)
tree6ffc8675e9151c6a8db96ac67f671c2b5814f581 /tools
parent50187e53450fba54131e5d5857e5f05cb6b0e849 (diff)
parent4d69e06b764d030dcc3ce9bc8b103a75eff3175a (diff)
downloadbuild-cd3050c541f665ee4b8462d1ccdabfe1ed2dbf4a.zip
build-cd3050c541f665ee4b8462d1ccdabfe1ed2dbf4a.tar.gz
build-cd3050c541f665ee4b8462d1ccdabfe1ed2dbf4a.tar.bz2
am 4d69e06b: Merge "Added BUILD_HOST_static to build statically linked executable/shared-lib"
* commit '4d69e06b764d030dcc3ce9bc8b103a75eff3175a': Added BUILD_HOST_static to build statically linked executable/shared-lib
Diffstat (limited to 'tools')
-rw-r--r--tools/zipalign/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/zipalign/Android.mk b/tools/zipalign/Android.mk
index 9763bd2..089c68b 100644
--- a/tools/zipalign/Android.mk
+++ b/tools/zipalign/Android.mk
@@ -28,6 +28,10 @@ else
LOCAL_LDLIBS += -lz
endif
+ifneq ($(strip $(BUILD_HOST_static)),)
+LOCAL_LDLIBS += -lpthread
+endif # BUILD_HOST_static
+
LOCAL_MODULE := zipalign
include $(BUILD_HOST_EXECUTABLE)