From: Mikko Rasa Date: Thu, 9 Oct 2014 22:11:51 +0000 (+0300) Subject: Not all devices have libgnustl_shared.so, so better link the static one X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b885b8cafa2538213fad595aa71203e2f0fc00b1;p=builder.git Not all devices have libgnustl_shared.so, so better link the static one --- 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()