using namespace Msp;
AndroidCompiler::AndroidCompiler(Builder &b, const Architecture &a, const string &t, const AndroidNdk &n):
- GnuCompiler(b, a, t, n.get_platform_sysroot()),
+ GnuCompiler(b, a, t),
ndk(n)
{
if(ndk.get_root_dir().empty())
if(ndk.get_platform_sysroot().empty())
problems.push_back("Android platform not found");
+ else
+ build_info.sysroot = ndk.get_platform_sysroot();
- build_info.incpath.insert(build_info.incpath.end(), system_path.begin(), system_path.end());
if(tag=="CXX")
build_info.libs.push_back("gnustl_static");
}