diff --git a/build.gradle b/build.gradle index cea524c..4cb2c8e 100755 --- a/build.gradle +++ b/build.gradle @@ -168,7 +168,9 @@ binaries.withType(SharedLibraryBinary) { binary -> if (!buildable) { return } - if (targetPlatform.operatingSystem.name in ['linux', 'freebsd'] && targetPlatform.architecture.name != System.properties['os.arch']) { + def arch = System.properties['os.arch'] + if (arch == 'hack') { arch = 'i386' } + if (targetPlatform.operatingSystem.name in ['linux', 'freebsd'] && targetPlatform.architecture.name != arch) { // Native plugins don't detect whether multilib support is available or not. Assume not for now return }