1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Use pkg-config instead of xml2-config for libxml2 build options.

pkg-config is a generic way to get build options rather than relying on a package-specific utility.

XML2_CONFIG can be used to override this utility for systems that do not ship pkg-config.
This commit is contained in:
David Steele
2020-01-24 10:08:05 -07:00
parent b134175fc7
commit 90abc3cf17
9 changed files with 34 additions and 104 deletions
+2 -1
View File
@@ -132,7 +132,8 @@ eval
processBegin('install common packages');
processExec('sudo apt-get -qq update', {bSuppressStdErr => true, bSuppressError => true});
processExec(
'sudo apt-get install -y rsync zlib1g-dev libssl-dev libxml2-dev libpq-dev libxml-checker-perl libyaml-libyaml-perl',
'sudo apt-get install -y rsync zlib1g-dev libssl-dev libxml2-dev libpq-dev libxml-checker-perl libyaml-libyaml-perl' .
' pkg-config',
{bSuppressStdErr => true});
processEnd();