From edc6310be8d76d912d7fd96eda266e77610788c6 Mon Sep 17 00:00:00 2001 From: pancake Date: Sat, 7 Nov 2026 12:44:19 +0100 Subject: [PATCH] Build zlib before the Sleigh compiler objects --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 69aff984..9b1a4c86 100644 --- a/src/Makefile +++ b/src/Makefile @@ -78,7 +78,7 @@ plugins: $(R2G_CORE_PLUGIN) sleighc deps=$(R2GHIDRA_OBJS) $(GHIDRA_OBJS) $(R2G_PLUGIN_OBJS) # zlib's configure rewrites zconf.h, racing any object that includes zlib.h under -j -$(R2GHIDRA_OBJS) $(GHIDRA_OBJS) $(R2G_PLUGIN_OBJS): | ../subprojects/zlib/libz.a +$(deps) $(SLEIGHTC_OBJS): | ../subprojects/zlib/libz.a asan: LDFLAGS="-fsanitize=address" CFLAGS="-fsanitize=address -g" $(MAKE) -j