OSDN Git Service

Added BUILD_HOST_static to build statically linked executable/shared-lib
authorAndrew Hsieh <andrewhsieh@google.com>
Fri, 27 Apr 2012 16:35:19 +0000 (00:35 +0800)
committerAndrew Hsieh <andrewhsieh@google.com>
Fri, 27 Apr 2012 16:53:55 +0000 (00:53 +0800)
commitf9613a4f730b8a385971f95150582b9a543302ae
treef9651c70667c33ca43fc3315f5c6d7dcc86ae2bf
parentf8dc89b49ac64331f23c97d6aad3866dd3fb7344
Added BUILD_HOST_static to build statically linked executable/shared-lib

Statically linked executable/shared-lib (eg. SDK tools) are useful
in sandboxed environment.

In BUILD_HOST_static zipalign needs -lpthread indirectly:
zipalign->libutils.a->liblog.a->logd_write.c->pthread

Change-Id: I8fa91a937b728ccdf942c4ba199efb1e2e49da3d
core/combo/HOST_darwin-x86.mk
core/combo/HOST_linux-x86.mk
core/combo/HOST_windows-x86.mk
tools/zipalign/Android.mk