aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.android
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-04-28 22:18:16 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-28 22:18:16 -0700
commit7756be82baf16d1c9bb65d2f6a9906afb222e0ca (patch)
treec83e5f80d4f6980c17a2c3ba8e04b05bca3ae8b3 /Makefile.android
parent64aa3854587d4b9c3ca683c3380be220f71ba47b (diff)
parent632a0e1c92700d8dbe8e4474500db3cc28c571d3 (diff)
downloadexternal_qemu-7756be82baf16d1c9bb65d2f6a9906afb222e0ca.zip
external_qemu-7756be82baf16d1c9bb65d2f6a9906afb222e0ca.tar.gz
external_qemu-7756be82baf16d1c9bb65d2f6a9906afb222e0ca.tar.bz2
Merge "Allow BUILD_HOST_static to build statically-linked emulator"
Diffstat (limited to 'Makefile.android')
-rw-r--r--Makefile.android4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.android b/Makefile.android
index 7e66bd9..f5c008b 100644
--- a/Makefile.android
+++ b/Makefile.android
@@ -132,6 +132,10 @@ ifneq ($(combo_target)$(TARGET_SIMULATOR),HOST_true)
MY_LDLIBS += -m32
endif
endif
+
+ ifneq ($(BUILD_HOST_static),)
+ MY_LDLIBS += -static
+ endif
endif
# Enable warning, except those related to missing field initializers