From 3a929f485cdbcb1ba019e14c0f5faa6b0b767996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Verdon?= Date: Sat, 20 Feb 2016 11:06:18 +0100 Subject: [PATCH] Repairing android-x86 toolchain Error was: 'i686-linux-android-g++: error: /arch-x86/usr/lib/crtend_so.o: No such file or directory' --- scripts/toolchain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index fc674de..5669936 100755 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -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" }