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)
ifndef LOCAL_SDK_VERSION
# Platform code. Select the appropriate STL.
ifndef USE_MINGW
my_cxx_stl := libc++
ifdef LOCAL_IS_HOST_MODULE
ifneq (,$(BUILD_HOST_static))
my_cxx_stl := libc++_static
endif
my_cxx_stl := libc++
ifdef LOCAL_IS_HOST_MODULE
ifneq (,$(BUILD_HOST_static))
my_cxx_stl := libc++_static
endif
ifdef USE_MINGW
# libc++ is not supported on mingw.
my_cxx_stl := libstdc++
endif
else
# libc++ is not supported on mingw.
my_cxx_stl := libstdc++
endif
else
my_cxx_stl := ndk