From b885b8cafa2538213fad595aa71203e2f0fc00b1 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 10 Oct 2014 01:11:51 +0300 Subject: [PATCH] Not all devices have libgnustl_shared.so, so better link the static one --- source/androidcxxcompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/androidcxxcompiler.cpp b/source/androidcxxcompiler.cpp index 04970ad..bdcbad9 100644 --- a/source/androidcxxcompiler.cpp +++ b/source/androidcxxcompiler.cpp @@ -11,7 +11,7 @@ AndroidCxxCompiler::AndroidCxxCompiler(Builder &b, const Architecture &a, const { set_command((ndk.get_bin_dir()/command).str()); build_info.incpath.insert(build_info.incpath.end(), system_path.begin(), system_path.end()); - build_info.libs.push_back("gnustl_shared"); + build_info.libs.push_back("gnustl_static"); } void AndroidCxxCompiler::do_prepare() -- 2.45.2