Enabled shared build of expat (library)

This commit is contained in:
q3aql 2016-03-14 17:01:56 +01:00
parent aad8fa3719
commit 7dedde97df
4 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ export LDFLAGS="-m32"
wget -c $EXPAT wget -c $EXPAT
tar jxvf expat-2.1.1.tar.bz2 tar jxvf expat-2.1.1.tar.bz2
cd expat-2.1.1/ cd expat-2.1.1/
CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER -m32" CXX="$CXX_COMPILER -m32" ./configure --prefix=$PREFIX --enable-static --disable-shared CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER -m32" CXX="$CXX_COMPILER -m32" ./configure --prefix=$PREFIX --enable-static --enable-shared
make make
make install make install
# #

View File

@ -41,7 +41,7 @@ cd $BUILD_DIRECTORY
wget -c $EXPAT wget -c $EXPAT
tar jxvf expat-2.1.1.tar.bz2 tar jxvf expat-2.1.1.tar.bz2
cd expat-2.1.1/ cd expat-2.1.1/
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --prefix=$PREFIX --enable-static --disable-shared PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --prefix=$PREFIX --enable-static --enable-shared
make make
make install make install
# #

View File

@ -38,7 +38,7 @@ cd $BUILD_DIRECTORY
wget -c $EXPAT wget -c $EXPAT
tar jxvf expat-2.1.1.tar.bz2 tar jxvf expat-2.1.1.tar.bz2
cd expat-2.1.1/ cd expat-2.1.1/
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --enable-shared
make make
make install make install
# #

View File

@ -38,7 +38,7 @@ cd $BUILD_DIRECTORY
wget -c $EXPAT wget -c $EXPAT
tar jxvf expat-2.1.1.tar.bz2 tar jxvf expat-2.1.1.tar.bz2
cd expat-2.1.1/ cd expat-2.1.1/
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --enable-shared
make make
make install make install
# #