summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 9b8d0ef..f6ca9c1 100644
--- a/Android.mk
+++ b/Android.mk
@@ -424,9 +424,9 @@ LOCAL_MODULE := aprotoc
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_MODULE_TAGS := optional
-# Use the system's libstdc++ (libc++ on mac) because we copy aprotoc to
-# unbundled projects where libc++.so may not be available.
-LOCAL_CXX_STL := libstdc++
+# Statically link libc++ because we copy aprotoc to unbundled projects where
+# libc++.so may not be available.
+LOCAL_CXX_STL := libc++_static
LOCAL_CPP_EXTENSION := .cc
LOCAL_SRC_FILES := $(COMPILER_SRC_FILES)