From 3fc03d4b6b6b7a0718a9ab9514ea3afdebc868f1 Mon Sep 17 00:00:00 2001 From: lazymio Date: Mon, 4 Apr 2022 11:45:49 +0200 Subject: Fix unicornafl static build Signed-off-by: lazymio --- unicorn_mode/samples/c/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unicorn_mode/samples/c') 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 -- cgit 1.4.1