From 4543e20f5c0803831adbb86d0ec22d4bcd87ce2f Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 12 Jun 2021 12:30:09 +0000 Subject: build system: ccenv_set_primary_tools(): try pkg-config as a pkgconf fallback. --- sofort/ccenv/ccenv.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sofort/ccenv') 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" -- cgit v1.2.3