Skip to content

Commit 25834e1

Browse files
Explicitly include libpython, as some pkg_configs don't return the -lpython3 bit.
1 parent c4efab9 commit 25834e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ endif
427427

428428
# python
429429
FLAGS+=$(shell $(PKG_CONFIG) --cflags python3)
430-
LIBS+=$(shell $(PKG_CONFIG) --libs python3)
430+
LIBS+=$(shell $(PKG_CONFIG) --libs python3) -lpython3
431431

432432
ifdef XDR
433433
# libtirpc is where the XDR routines have been moved to from glibc

0 commit comments

Comments
 (0)