b2c47d build system: ccenv_set_primary_tools(): try pkg-config as a pkgconf fallback.

Authored and Committed by midipix 3 years ago
    build system: ccenv_set_primary_tools(): try pkg-config as a pkgconf fallback.
    
        
file modified
+3 -0
sofort/ccenv/ccenv.sh CHANGED
@@ -208,6 +208,9 @@ ccenv_set_primary_tools()
208
208
ccenv_candidates="$ccenv_candidates gcc-$__tool"
209
209
ccenv_candidates="$ccenv_candidates llvm-$__tool"
210
210
211
+ elif [ "$__tool" = 'pkgconf' ]; then
212
+ ccenv_candidates="$__tool pkg-config"
213
+
211
214
else
212
215
ccenv_candidates="$__tool"
213
216
ccenv_candidates="$ccenv_candidates gcc-$__tool"