diff options
author | midipix <writeonce@midipix.org> | 2021-06-12 12:30:09 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-12 12:30:48 +0000 |
commit | 7213efa627dc1dab4e154d24efa8a6756fc70d6e (patch) | |
tree | 6c68f9c298ccb8498e6c052c746edc5ee668672d | |
parent | 055bd9d2afbbc38415084dc4e8a6e0684476ea87 (diff) | |
download | w32lib-7213efa627dc1dab4e154d24efa8a6756fc70d6e.tar.bz2 w32lib-7213efa627dc1dab4e154d24efa8a6756fc70d6e.tar.xz |
build system: ccenv_set_primary_tools(): try pkg-config as a pkgconf fallback.
-rw-r--r-- | sofort/ccenv/ccenv.sh | 3 |
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" |