aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-07-04 17:23:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-07-05 12:26:29 +0200
commitcf9d81dbe0eadbadcc81b2565ce73e7eff26f982 (patch)
tree5654dc2802a87d2a2126e23d203540f74a8ae6e9 /build/root.build
parentdb2cf5ca0348788bfd8b3052c03279db1d971d2f (diff)
Switch to using libpkg-config instead of libpkgconf by default
The use of (now deprecated) libpkgconf is still possible by setting config.build2.libpkgconf to true. Note that libpkgconf is known to have issues on Windows and Mac OS so this should only be used on Linux and maybe BSDs. Also note that we will only keep this until upstream (again) breaks backwards compatibility at which point we will drop this support.
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index 3afdcf9..911787f 100644
--- a/build/root.build
+++ b/build/root.build
@@ -49,3 +49,11 @@ using? cli
# Specify the test target for cross-testing.
#
test.target = $cxx.target
+
+# Temporary ability to build with now deprecated libpkgconf instead of
+# libpkg-config. Note that libpkgconf is known to have issues on Windows and
+# Mac OS so this should only be used on Linux and maybe BSDs. Also note that
+# we will only keep this until upstream (again) breaks backwards compatibility
+# at which point we will drop this support.
+#
+config [bool, config.report=false] config.build2.libpkgconf ?= false