Skip to content

Commit 213a174

Browse files
committed
cleanup: python API should now build with newer versions of python3
1 parent bbe2351 commit 213a174

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cfg/checks/python.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PYTHON_OBJ = api.o python_api.o
66
# Check if we can build Python scripting support
77
CHECK_PYTHON3_LIBS = $(shell $(PKG_CONFIG) --exists $(PYTHON3_LIBS) || echo -n "error")
88
ifneq ($(CHECK_PYTHON3_LIBS), error)
9-
LDFLAGS += $(shell python3-config --ldflags)
9+
LDFLAGS += $(shell python3-config --ldflags --embed)
1010
CFLAGS += $(PYTHON_CFLAGS) $(shell python3-config --includes)
1111
OBJ += $(PYTHON_OBJ)
1212
else ifneq ($(MAKECMDGOALS), clean)

0 commit comments

Comments
 (0)