]> git.ipfire.org Git - thirdparty/newt.git/commit
try python-config --ldflags --embed first
authorRyan Carsten Schmidt <git@ryandesign.com>
Thu, 25 Apr 2024 05:35:08 +0000 (05:35 +0000)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 6 May 2024 09:12:25 +0000 (11:12 +0200)
commit838807a82a400eb3bd086da2632dcc830a6d8319
treefe9a27942ebe234d5df240b383810f3e80b9aa8f
parent26ef894b9f01dedb1953864e6b035184fc1e0f2b
try python-config --ldflags --embed first

As of python 3.8, output of "python-config --ldflags" no longer includes
the "-lpython" flag without which the python module fails to link due to
undefined symbols. Use "python-config --ldflags --embed" to get it back
and fall back to "python-config --ldflags" for python 3.7 and older.

https://docs.python.org/3.8/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
Makefile.in