Merge "Select the correct target STL with USE_MINGW."

This commit is contained in:
Dan Albert
2015-05-05 21:40:01 +00:00
committed by Gerrit Code Review

View File

@@ -8,16 +8,16 @@
ifeq ($(strip $(LOCAL_CXX_STL)),default) ifeq ($(strip $(LOCAL_CXX_STL)),default)
ifndef LOCAL_SDK_VERSION ifndef LOCAL_SDK_VERSION
# Platform code. Select the appropriate STL. # Platform code. Select the appropriate STL.
ifndef USE_MINGW my_cxx_stl := libc++
my_cxx_stl := libc++ ifdef LOCAL_IS_HOST_MODULE
ifdef LOCAL_IS_HOST_MODULE ifneq (,$(BUILD_HOST_static))
ifneq (,$(BUILD_HOST_static)) my_cxx_stl := libc++_static
my_cxx_stl := libc++_static endif
endif
ifdef USE_MINGW
# libc++ is not supported on mingw.
my_cxx_stl := libstdc++
endif endif
else
# libc++ is not supported on mingw.
my_cxx_stl := libstdc++
endif endif
else else
my_cxx_stl := ndk my_cxx_stl := ndk