Move gcc4 libs to B_COMMON_LIB_DIRECTORY/gcc4 for SDL and libs.

This commit is contained in:
Scott McCreary
2010-09-27 17:02:54 +00:00
parent a436cffb74
commit 82f9f2f5d6
9 changed files with 84 additions and 11 deletions

View File

@@ -18,9 +18,18 @@ BUILD {
libtoolize --force --copy --install
aclocal -I acinclude
./autogen.sh
./configure --prefix=/boot/common --enable-bmp --enable-lbm --enable-pcx \
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
if [ -n "$(setgcc | grep '2')" ]; then
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
else
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`/gcc4
fi
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--enable-bmp --enable-lbm --enable-pcx \
--enable-pnm --enable-tga --enable-xcf --enable-xpm --enable-xv \
--enable-gif --enable-jpg --disable-jpg-shared
--enable-gif --enable-jpg --disable-jpg-shared \
--libdir=$LIBDIR \
--mandir=$MANDIR
make
}