mirror of
https://github.com/radareorg/r2ghidra.git
synced 2026-11-07 06:25:57 -10:00
Aim to fix the local zlib linkage issue from ghidra-native
This commit is contained in:
1 parent
abb5cea342
commit
22627a5764
1 file changed
+7
-1
+7
-1
@@ -2,8 +2,14 @@
|
||||
USE_BISON=0
|
||||
|
||||
# Use static zlib to avoid symbol conflicts with radare2's zlib
|
||||
# On Linux, use -Bsymbolic to prevent symbol interposition
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
ZLIB_LDFLAGS=-Wl,-Bsymbolic ../subprojects/zlib/libz.a
|
||||
else
|
||||
ZLIB_LDFLAGS=../subprojects/zlib/libz.a
|
||||
ZLIB_CFLAGS=-I../subprojects/zlib -DLOCAL_ZLIB
|
||||
endif
|
||||
ZLIB_CFLAGS=-I../subprojects/zlib
|
||||
|
||||
# GHIDRA_HOME=../ghidra/ghidra/
|
||||
# GHIDRA_DECOMPILER=$(GHIDRA_HOME)/Ghidra/Features/Decompiler/src/decompile/cpp
|
||||
|
||||
Reference in new issue
Block a user