about summary refs log tree commit diff
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
parent15b43e6ce1866b369700aed306d75090facc08d6 (diff)
downloadafl++-3fc03d4b6b6b7a0718a9ab9514ea3afdebc868f1.tar.gz
Fix unicornafl static build
Signed-off-by: lazymio <mio@lazym.io>
-rw-r--r--unicorn_mode/UNICORNAFL_VERSION2
-rw-r--r--unicorn_mode/samples/c/Makefile2
m---------unicorn_mode/unicornafl0
3 files changed, 2 insertions, 2 deletions
diff --git a/unicorn_mode/UNICORNAFL_VERSION b/unicorn_mode/UNICORNAFL_VERSION
index fe7be8e1..16f7e4ac 100644
--- a/unicorn_mode/UNICORNAFL_VERSION
+++ b/unicorn_mode/UNICORNAFL_VERSION
@@ -1 +1 @@
-a44fa94488d01aba60401ccf81f8bebcce685bf2
+baf52ac2cf4fb005014f1b9527005a06a369c7f5
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
diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl
-Subproject a44fa94488d01aba60401ccf81f8bebcce685bf
+Subproject baf52ac2cf4fb005014f1b9527005a06a369c7f