mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
validatePkgConfig: fix cross-compilation
Fixes cross-compilation for duktape and pugixml
This commit is contained in:
parent
5e2018f7b3
commit
9fb1f66d30
@ -7,7 +7,7 @@ _validatePkgConfig() {
|
||||
for pc in $(find "$prefix" -name '*.pc'); do
|
||||
# Do not fail immediately. It's nice to see all errors when
|
||||
# there are multiple pkgconfig files.
|
||||
if ! pkg-config --validate "$pc"; then
|
||||
if ! $PKG_CONFIG --validate "$pc"; then
|
||||
bail=1
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user