Android generated application are provided as a dynamic library.

To be loaded flawlessly by 'NativeActivity' class, they must have 'lib' as prefix and '.so' as extension (see 'AndroidManifest.xml' section at 'developer.android.com/ndk/samples/sample_na.html').
This adds automatically the 'lib' prefix to the generated library.
This commit is contained in:
Jean-François Verdon
2016-02-20 12:06:37 +01:00
parent 0656c6f568
commit 5097c6f264

View File

@@ -664,6 +664,7 @@ function toolchain(_buildDir, _libDir)
}
configuration { "android-*" }
targetprefix ("lib")
flags {
"NoImportLib",
}