Enabled shared build of expat (library)
This commit is contained in:
parent
aad8fa3719
commit
7dedde97df
|
@ -45,7 +45,7 @@ export LDFLAGS="-m32"
|
|||
wget -c $EXPAT
|
||||
tar jxvf expat-2.1.1.tar.bz2
|
||||
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 install
|
||||
#
|
||||
|
|
|
@ -41,7 +41,7 @@ cd $BUILD_DIRECTORY
|
|||
wget -c $EXPAT
|
||||
tar jxvf expat-2.1.1.tar.bz2
|
||||
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 install
|
||||
#
|
||||
|
|
|
@ -38,7 +38,7 @@ cd $BUILD_DIRECTORY
|
|||
wget -c $EXPAT
|
||||
tar jxvf expat-2.1.1.tar.bz2
|
||||
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 install
|
||||
#
|
||||
|
|
|
@ -38,7 +38,7 @@ cd $BUILD_DIRECTORY
|
|||
wget -c $EXPAT
|
||||
tar jxvf expat-2.1.1.tar.bz2
|
||||
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 install
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user