You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cherry-pick more upstream fixes to support building against python 3.8 (#203)
* Add Python 3.8 compatibility
From Python 3.8 and onwards C extensions are no longer
linked to libpython so in order to embed python within
an application the --embed flag needs to be added to
python3-config --libs. A fall back is provided as the
command will error out on previous python versions.
References: https://bugs.python.org/issue36721
* Fix linking with Python 3.8
Since Python 3.8 --embed flag needs to be provided to python-config to embed python.
Reference: https://bugs.python.org/issue36721
This was partially addressed in collectd#3170 but only fixed building and not linking with python.
Co-authored-by: Charalampos Stratakis <[email protected]>
Co-authored-by: Alexander Meshcheryakov <[email protected]>
0 commit comments