]> git.tdb.fi Git - builder.git/commitdiff
Not all devices have libgnustl_shared.so, so better link the static one
authorMikko Rasa <tdb@tdb.fi>
Thu, 9 Oct 2014 22:11:51 +0000 (01:11 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 9 Oct 2014 22:11:51 +0000 (01:11 +0300)
source/androidcxxcompiler.cpp

index 04970ad2342e097220baaee330937768b1c95585..bdcbad92b79eced428660b90073abfe514cfc88b 100644 (file)
@@ -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()