There was an error while loading. Please reload this page.
1 parent bbe2351 commit 213a174Copy full SHA for 213a174
1 file changed
cfg/checks/python.mk
@@ -6,7 +6,7 @@ PYTHON_OBJ = api.o python_api.o
6
# Check if we can build Python scripting support
7
CHECK_PYTHON3_LIBS = $(shell $(PKG_CONFIG) --exists $(PYTHON3_LIBS) || echo -n "error")
8
ifneq ($(CHECK_PYTHON3_LIBS), error)
9
- LDFLAGS += $(shell python3-config --ldflags)
+ LDFLAGS += $(shell python3-config --ldflags --embed)
10
CFLAGS += $(PYTHON_CFLAGS) $(shell python3-config --includes)
11
OBJ += $(PYTHON_OBJ)
12
else ifneq ($(MAKECMDGOALS), clean)
0 commit comments