summaryrefslogtreecommitdiffhomepage
path: root/sofort/ccenv
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:46 +0000
commit753e1b770548b8b5891e9e2b9d42862a9ddf8528 (patch)
treebc2f6f2a1e2c8f34e3d53315422175eb68da2ff2 /sofort/ccenv
parent9966d2614a125e729ceb30d1b53b1ec72926a980 (diff)
downloadntapi-753e1b770548b8b5891e9e2b9d42862a9ddf8528.tar.bz2
ntapi-753e1b770548b8b5891e9e2b9d42862a9ddf8528.tar.xz
build system: ccenv_set_primary_tools(): try pkg-config as a pkgconf fallback.
Diffstat (limited to 'sofort/ccenv')
-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"