ソースを参照

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.

Jean-François Verdon 9 年 前
コミット
5097c6f264
1 ファイル変更1 行追加0 行削除
  1. 1 0
      scripts/toolchain.lua

+ 1 - 0
scripts/toolchain.lua

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