Use "export FOO" directly rather than "FOO="..."; export FOO".

--HG--
extra : convert_revision : a92cf1681ad93ba62d4765399a0190696429bf5f
This commit is contained in:
Juan RP 2008-09-30 17:17:11 +02:00
parent 2a2f97a1da
commit 24e08d308b
1 changed files with 2 additions and 3 deletions

View File

@ -473,9 +473,8 @@ build_tmpl_sources()
#
# For now, just set LDFLAGS.
#
LDFLAGS="$LDFLAGS -L$PKGFS_MASTERDIR/lib -Wl,-R$PKGFS_MASTERDIR/lib"
PKG_CONFIG="$PKGFS_MASTERDIR/bin/pkg-config"
export LDFLAGS PKG_CONFIG PKG_CONFIG_LIBDIR
export LDFLAGS="-L$PKGFS_MASTERDIR/lib -Wl,-R$PKGFS_MASTERDIR/lib $LDFLAGS"
export PKG_CONFIG="$PKGFS_MASTERDIR/bin/pkg-config"
#
# Packages using GNU autoconf