Repairing android-x86 toolchain

Error was: 'i686-linux-android-g++: error: /arch-x86/usr/lib/crtend_so.o: No such file or directory'
This commit is contained in:
Jean-François Verdon
2016-02-20 11:06:18 +01:00
parent 0656c6f568
commit 3a929f485c

View File

@@ -800,7 +800,7 @@ function toolchain(_buildDir, _libDir)
linkoptions {
"--sysroot=" .. path.join("$(ANDROID_NDK_ROOT)/platforms", androidPlatform, "arch-x86"),
path.join("$(ANDROID_NDK_ROOT)/platforms", androidPlatform, "arch-x86/usr/lib/crtbegin_so.o"),
path.join("$(ANDROID_NDK_ROOT)/platforms", androidPlatform, "/arch-x86/usr/lib/crtend_so.o"),
path.join("$(ANDROID_NDK_ROOT)/platforms", androidPlatform, "arch-x86/usr/lib/crtend_so.o"),
}
configuration { "asmjs" }