Temporarily disable zlib.klib on raspberrypi and mipses.
This commit is contained in:
@@ -310,6 +310,9 @@ private ArrayList<DefFile> targetDefFiles(String target) {
|
|||||||
project(':klib').file("src/platform/$platform")
|
project(':klib').file("src/platform/$platform")
|
||||||
.listFiles()
|
.listFiles()
|
||||||
.findAll { it.name.endsWith(".def") }
|
.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) }
|
.collect { new DefFile(it, substitution) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user