Skip to content

Revert "Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindings"

libxml2 2.10.0 change the Python binding build procedure, which lead to ImportError: /usr/lib/python3.10/dist-packages/ undefined symbol: xmlParserValidityWarning when building package for deb/rpm.

As per #398 (comment 1533641) suggestion, rolling back ths commit could fix the undefined symbol issue.

This also keep the flexibility for changing the target installation path for Python binding, which is also important for deb/rpm packaging.

Fixes #398 (closed)

This reverts commit d9335077.

Merge request reports