[Bug 241757] lang/python38: invalid python-config --ldflags

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 6 14:10:56 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241757

--- Comment #1 from Antoine Brodin <antoine at FreeBSD.org> ---
According to https://docs.python.org/3/whatsnew/3.8.html :

To embed Python into an application, a new --embed option must be passed to
python3-config --libs --embed to get -lpython3.8 (link the application to
libpython). To support both 3.8 and older, try python3-config --libs --embed
first and fallback to python3-config --libs (without --embed) if the previous
command fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list