Browse Source

Modified pkgconfig to export the full PKG_CONFIG_PATH after constructing it.

early
Minto van der Sluis 18 years ago
parent
commit
39a16ce70c
  1. 3
      base/pkgconfig/parse-config

3
base/pkgconfig/parse-config

@ -15,11 +15,12 @@
if atstage cross; then
#export PKG_CONFIG_DEBUG_SPEW=yes
SYSROOT=$base/build/$SDECFG_ID
export PKG_CONFIG_PATH=$SYSROOT/usr/lib/pkgconfig # unused, due below
PKG_CONFIG_PATH=$SYSROOT/usr/lib/pkgconfig # unused, due below
for x in $SYSROOT/usr/lib64 $SYSROOT/usr/X11*/lib{,64} \
$SYSROOT/opt/*/lib{,64}; do
[ -d $x/pkgconfig ] && PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$x/pkgconfig"
done
export PKG_CONFIG_PATH
export PKG_CONFIG_LIBDIR=$PKG_CONFIG_PATH # needed, otherwse system is used
unset SYSROOT
fi

Loading…
Cancel
Save