about summary refs log tree commit diff
path: root/unicorn_mode/samples/c
diff options
context:
space:
mode:
authorlazymio <mio@lazym.io>2022-04-04 11:45:49 +0200
committerlazymio <mio@lazym.io>2022-04-04 11:45:49 +0200
commit3fc03d4b6b6b7a0718a9ab9514ea3afdebc868f1 (patch)
treec509f508729c3c151a24cdc7eaca7e3260d08a6a /unicorn_mode/samples/c
parent15b43e6ce1866b369700aed306d75090facc08d6 (diff)
downloadafl++-3fc03d4b6b6b7a0718a9ab9514ea3afdebc868f1.tar.gz
Fix unicornafl static build
Signed-off-by: lazymio <mio@lazym.io>
Diffstat (limited to 'unicorn_mode/samples/c')
-rw-r--r--unicorn_mode/samples/c/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/unicorn_mode/samples/c/Makefile b/unicorn_mode/samples/c/Makefile
index fd6dbe77..3362654d 100644
--- a/unicorn_mode/samples/c/Makefile
+++ b/unicorn_mode/samples/c/Makefile
@@ -15,7 +15,7 @@ V ?= 0
 
 CFLAGS += -Wall -Werror -I../../unicornafl/unicorn/include -I../../unicornafl/include
 
-LDFLAGS += -L$(UNICORNAFL_LIB) -L$(UNICORN_LIB) -lpthread -lm -lunicornafl -lunicorn -lc++
+LDFLAGS += -L$(UNICORNAFL_LIB) -L$(UNICORN_LIB) -lunicorn-static -lunicornafl -lm -lpthread -lstdc++
 
 ifeq ($(UNAME), Linux)
 # do something Linux-y