Temporarily disable zlib.klib on raspberrypi and mipses.

This commit is contained in:
alexander-gorshenev
2017-10-11 17:06:49 +03:00
parent 989d9efab9
commit f75adb30a3
+3
View File
@@ -310,6 +310,9 @@ private ArrayList<DefFile> targetDefFiles(String target) {
project(':klib').file("src/platform/$platform")
.listFiles()
.findAll { it.name.endsWith(".def") }
// The libz.a/libz.so and zlib.h are missing in raspberrypi and mips sysroots.
// Just workaround it until we have sysroots corrected.
.findAll { ! ((target == 'raspberrypi' || target == 'linux_mips32' || target == 'linux_mipsel32') && it.name == 'zlib.def') }
.collect { new DefFile(it, substitution) }
}