common: unser PKG_CONFIG before sourcing templates, set PKG_CONFIG also for native

This commit is contained in:
John 2020-05-29 14:30:06 +02:00
parent 6c2e984eb7
commit 6ce531b231
2 changed files with 2 additions and 1 deletions

View file

@ -606,6 +606,7 @@ setup_pkg() {
export OBJCOPY="objcopy"
export NM="nm"
export READELF="readelf"
export PKG_CONFIG="pkg-config"
export RUST_TARGET="$XBPS_RUST_TARGET"
export RUST_BUILD="$XBPS_RUST_TARGET"
# Unset cross evironment variables