glibc32: add back lib32 dirs into ld.so.conf.

--HG--
extra : convert_revision : 775488ace10ef250f5711896c1b8a2afc74d377c
This commit is contained in:
Juan RP 2008-11-21 09:58:43 +01:00
parent f1e6d8d390
commit fa2184aeac
1 changed files with 4 additions and 3 deletions

View File

@ -75,10 +75,11 @@ post_install()
mv -v $destdir/usr/lib/* $destdir/usr/lib32/
rmdir $destdir/usr/lib
# Make some symlinks from /lib32 in /lib, to make gcc-multilib happy.
cd $destdir/lib && ln -s ../lib32/libc_nonshared.a .
cd $destdir/lib && ln -s ../lib32/ld-linux.so.2 .
cd $destdir/lib && ln -s ../lib32/libpthread_nonshared.a .
# Add /lib32 and /usr/lib32 into ld.so.conf.
echo "/lib32" >> $XBPS_MASTERDIR/etc/ld.so.conf
echo "/usr/lib32" >> $XBPS_MASTERDIR/etc/ld.so.conf
rm -rf $tmpdir
wrksrc=$XBPS_BUILDDIR/libc