mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Move gcc4 libs to B_COMMON_LIB_DIRECTORY/gcc4 for SDL and libs.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user