From ec36a3551f10a7f78ea8909a16079b5a034e6b66 Mon Sep 17 00:00:00 2001 From: Steffen Schulz Date: Wed, 27 Apr 2022 01:28:10 +0200 Subject: [PATCH] extra LDFLAGS needed for libxdc `dev` version + ptdump_static Note sure why -Llibxdc is needed when libxdc Makefile contains -L.? --- compile_qemu_nyx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile_qemu_nyx.sh b/compile_qemu_nyx.sh index 8b236ec2bf..533409fee2 100755 --- a/compile_qemu_nyx.sh +++ b/compile_qemu_nyx.sh @@ -43,7 +43,7 @@ compile_libraries() make -C capstone_v4 -j $(nproc) echo "[!] Compiling libxdc..." - CFLAGS="-I$PWD/capstone_v4/include/" make -C libxdc -j $(nproc) + LDFLAGS="-L$PWD/capstone_v4 -L$PWD/libxdc" CFLAGS="-I$PWD/capstone_v4/include/" make -C libxdc -j $(nproc) case $1 in "dynamic"|"debug")