From dae3fc7dd044cacf4fc1e4a1c6afa05060060d64 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 4 Nov 2021 06:48:05 +0330 Subject: [ci skip]we need to pass --embed to python-config --- bruiser/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bruiser/makefile b/bruiser/makefile index 48f54cb..67a6314 100644 --- a/bruiser/makefile +++ b/bruiser/makefile @@ -87,7 +87,7 @@ endif SRCS:=$(wildcard *.cpp) C_SRCS:=$(wildcard *.c) CXX_FLAGS+=$(CXX_EXTRA) -EXTRA_LD_FLAGS+=$(shell $(PY_CONF) --ldflags) -lffi -lcapstone -lkeystone -L./lua-5.3.4/src +EXTRA_LD_FLAGS+=-lffi -lcapstone -lkeystone -L./lua-5.3.4/src $(shell $(PY_CONF) --embed --ldflags) LD_FLAGS+=$(EXTRA_LD_FLAGS) TBG_OBJLIST_INC_WASM=$(patsubst ./autogen/wasm/ltg/%.c, ./autogen/wasm/ltg/%.o, $(wildcard ./autogen/wasm/ltg/*.c)) TBG_OBJLIST_DBG_INC_WASM=$(patsubst ./autogen/wasm/ltg/%.c, ./autogen/wasm/ltg/%.odbg, $(wildcard ./autogen/wasm/ltg/*.c)) -- cgit v1.2.3