Skip to content

Ghidra is a software reverse engineering (SRE) framework

Always use local zlib.h

caheckmanfee5d0e13c6d
diff --git a/Ghidra/Features/Decompiler/buildNatives.gradle b/Ghidra/Features/Decompiler/buildNatives.gradle
index d47201d67c..62bd81d266 100644
--- a/Ghidra/Features/Decompiler/buildNatives.gradle
+++ b/Ghidra/Features/Decompiler/buildNatives.gradle
@@ -205,9 +205,7 @@ model {
if (b.toolChain in Gcc || b.toolChain in Clang) {
b.linker.args "-lz"
}
- else {
- b.cppCompiler.define "LOCAL_ZLIB"
- }
+ b.cppCompiler.define "LOCAL_ZLIB"
}
} // end binaries.all (sleigh)
} // end sleigh