diff options
author | midipix <writeonce@midipix.org> | 2021-06-12 12:30:09 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-12 12:30:45 +0000 |
commit | 6d751a755a967bf9ca11f4162ac4f7ffabf0aec9 (patch) | |
tree | c03a8a9c0a1d0046bdd4a9f88574952e719cae52 /sofort/ccenv | |
parent | 078c89165434da7deb92b89190c550fa61d7ac78 (diff) | |
download | apimagic-6d751a755a967bf9ca11f4162ac4f7ffabf0aec9.tar.bz2 apimagic-6d751a755a967bf9ca11f4162ac4f7ffabf0aec9.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.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" |