common: unser PKG_CONFIG before sourcing templates, set PKG_CONFIG also for native
This commit is contained in:
parent
6c2e984eb7
commit
6ce531b231
2 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ unset -v patch_args disable_parallel_build keep_libtool_archives make_use_env
|
|||
unset -v reverts subpackages makedepends hostmakedepends checkdepends depends restricted
|
||||
unset -v nopie build_options build_options_default bootstrap repository reverts
|
||||
unset -v CFLAGS CXXFLAGS FFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
|
||||
unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF
|
||||
unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF PKG_CONFIG
|
||||
|
||||
# hooks/do-extract/00-distfiles
|
||||
unset -v skip_extraction
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue