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