am b5ccb461: Merge "Select the correct target STL with USE_MINGW."

* commit 'b5ccb461ed50dec49a5bc0e6cdbe8ffd62080d7d':
  Select the correct target STL with USE_MINGW.
This commit is contained in:
Dan Albert 2015-05-05 21:49:40 +00:00 committed by Android Git Automerger
commit 7cfccda659

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