summaryrefslogtreecommitdiffhomepage
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:47 +0000
commit328bb42630af678ef3300ad8282c89ae6abcd4d0 (patch)
tree4d5ffcf30c5d8a07d9ff9bc1153d4d207c8d64f6
parent25fc750308a681b48d46a9a888e925b2069b96ee (diff)
downloadsltdl-328bb42630af678ef3300ad8282c89ae6abcd4d0.tar.bz2
sltdl-328bb42630af678ef3300ad8282c89ae6abcd4d0.tar.xz
build system: ccenv_set_primary_tools(): try pkg-config as a pkgconf fallback.
-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"