summaryrefslogtreecommitdiff
path: root/sofort
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-12 12:30:09 +0000
committermidipix <writeonce@midipix.org>2021-06-12 12:30:48 +0000
commite8d73409d70e480a11525b6f9a8b8cf626fd360f (patch)
treeeadaaf266f7220221d84662d728556644eac5b7b /sofort
parent53ce711a59aac8f28fd120e06e08a59dc8f10a45 (diff)
downloadtpax-e8d73409d70e480a11525b6f9a8b8cf626fd360f.tar.bz2
tpax-e8d73409d70e480a11525b6f9a8b8cf626fd360f.tar.xz
build system: ccenv_set_primary_tools(): try pkg-config as a pkgconf fallback.
Diffstat (limited to 'sofort')
-rw-r--r--sofort/ccenv/ccenv.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index d98e87e..99a98ef 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -208,6 +208,9 @@ ccenv_set_primary_tools()
ccenv_candidates="$ccenv_candidates gcc-$__tool"
ccenv_candidates="$ccenv_candidates llvm-$__tool"
+ elif [ "$__tool" = 'pkgconf' ]; then
+ ccenv_candidates="$__tool pkg-config"
+
else
ccenv_candidates="$__tool"
ccenv_candidates="$ccenv_candidates gcc-$__tool"