Skip to content

Use PKG_CHECK_MODULES to detect the libxml2 library

Hugh McMaster requested to merge hughmcmaster/armagetronad:pkgconfig into master

Debian (and, ultimately, Ubuntu) is removing xml2-config from the libxml2-dev package. This means Armagetron fails to build from source.

This patch uses PKG_CHECK_MODULES (that is, pkg-config) to detect the libxml2 library.

Edited by Hugh McMaster

Merge request reports