From b558a45203fb1cd3778086b24858dde84572c7ac Mon Sep 17 00:00:00 2001 From: Ivan Dubrov Date: Fri, 25 Apr 2014 21:38:05 -0700 Subject: [PATCH] Fixing native library compilation on x86 vs x64 --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index 1b7cb0b6..85d497dd 100644 --- a/build.gradle +++ b/build.gradle @@ -143,6 +143,7 @@ project('native') { args "-I${jre}/../include/linux" args '-o' args 'build/libnatives.so' + args (arch == Arch.X86 ? '-m32' : '-m64') } else if (os == Os.MAC) { args "-I${jre}/../include/darwin" args '-o' -- 2.39.5