Updated c-ares to v1.12.0
This commit is contained in:
parent
658528c15d
commit
39102f1628
|
@ -22,7 +22,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz
|
|||
OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz
|
||||
EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2
|
||||
SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz
|
||||
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
|
||||
|
||||
## CONFIG ##
|
||||
|
@ -55,7 +55,7 @@ cd $BUILD_DIRECTORY
|
|||
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC=$HOST-gcc STRIP=$HOST-strip RANLIB=$HOST-ranlib CXX=$HOST-g++ AR=$HOST-ar LD=$HOST-ld ./configure --prefix=$PREFIX --static
|
||||
make
|
||||
make install
|
||||
#
|
||||
#
|
||||
# expat build
|
||||
cd ..
|
||||
$DOWNLOADER $EXPAT
|
||||
|
@ -68,8 +68,8 @@ cd $BUILD_DIRECTORY
|
|||
# c-ares build
|
||||
cd ..
|
||||
$DOWNLOADER $C_ARES
|
||||
tar zxvf c-ares-1.11.0.tar.gz
|
||||
cd c-ares-1.11.0/
|
||||
tar zxvf c-ares-1.12.0.tar.gz
|
||||
cd c-ares-1.12.0/
|
||||
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC=$HOST-gcc CXX=$HOST-g++ ./configure --host=$HOST --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` --prefix=$PREFIX --enable-static --disable-shared
|
||||
make
|
||||
make install
|
||||
|
|
|
@ -29,7 +29,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz
|
|||
OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz
|
||||
EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2
|
||||
SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz
|
||||
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
|
||||
|
||||
## CONFIG ##
|
||||
|
@ -37,7 +37,7 @@ BUILD_DIRECTORY=/tmp/
|
|||
|
||||
## BUILD ##
|
||||
cd $BUILD_DIRECTORY
|
||||
export CFLAGS="-m32"
|
||||
export CFLAGS="-m32"
|
||||
export CXXFLAGS="-m32"
|
||||
export LDFLAGS="-m32"
|
||||
#
|
||||
|
@ -48,7 +48,7 @@ export LDFLAGS="-m32"
|
|||
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 --static
|
||||
make
|
||||
make install
|
||||
#
|
||||
#
|
||||
# expat build
|
||||
cd ..
|
||||
$DOWNLOADER $EXPAT
|
||||
|
@ -61,8 +61,8 @@ export LDFLAGS="-m32"
|
|||
# c-ares build
|
||||
cd ..
|
||||
$DOWNLOADER $C_ARES
|
||||
tar zxvf c-ares-1.11.0.tar.gz
|
||||
cd c-ares-1.11.0/
|
||||
tar zxvf c-ares-1.12.0.tar.gz
|
||||
cd c-ares-1.12.0/
|
||||
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
|
||||
make
|
||||
make install
|
||||
|
@ -93,7 +93,7 @@ export LDFLAGS="-m32"
|
|||
rm -rf $PREFIX/lib/pkgconfig/libssh2.pc
|
||||
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 --without-libgcrypt --with-openssl --without-wincng --prefix=$PREFIX --enable-static --disable-shared
|
||||
make
|
||||
make install
|
||||
make install
|
||||
#
|
||||
#cleaning
|
||||
cd ..
|
||||
|
|
|
@ -27,7 +27,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz
|
|||
OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz
|
||||
EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2
|
||||
SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz
|
||||
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
|
||||
|
||||
## CONFIG ##
|
||||
|
@ -43,7 +43,7 @@ cd $BUILD_DIRECTORY
|
|||
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --prefix=$PREFIX --static
|
||||
make
|
||||
make install
|
||||
#
|
||||
#
|
||||
# expat build
|
||||
cd ..
|
||||
$DOWNLOADER $EXPAT
|
||||
|
@ -56,8 +56,8 @@ cd $BUILD_DIRECTORY
|
|||
# c-ares build
|
||||
cd ..
|
||||
$DOWNLOADER $C_ARES
|
||||
tar zxvf c-ares-1.11.0.tar.gz
|
||||
cd c-ares-1.11.0/
|
||||
tar zxvf c-ares-1.12.0.tar.gz
|
||||
cd c-ares-1.12.0/
|
||||
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --prefix=$PREFIX --enable-static --disable-shared
|
||||
make
|
||||
make install
|
||||
|
|
|
@ -24,7 +24,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz
|
|||
OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz
|
||||
EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2
|
||||
SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz
|
||||
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
|
||||
|
||||
## CONFIG ##
|
||||
|
@ -42,7 +42,7 @@ cd $BUILD_DIRECTORY
|
|||
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --static
|
||||
make
|
||||
make install
|
||||
#
|
||||
#
|
||||
# expat build
|
||||
cd ..
|
||||
$DOWNLOADER $EXPAT
|
||||
|
@ -55,8 +55,8 @@ cd $BUILD_DIRECTORY
|
|||
# c-ares build
|
||||
cd ..
|
||||
$DOWNLOADER $C_ARES
|
||||
tar zxvf c-ares-1.11.0.tar.gz
|
||||
cd c-ares-1.11.0/
|
||||
tar zxvf c-ares-1.12.0.tar.gz
|
||||
cd c-ares-1.12.0/
|
||||
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared
|
||||
make
|
||||
make install
|
||||
|
@ -87,7 +87,7 @@ cd $BUILD_DIRECTORY
|
|||
rm -rf $PREFIX/lib/pkgconfig/libssh2.pc
|
||||
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --without-libgcrypt --with-openssl --without-wincng --prefix=$PREFIX --host=$HOST --enable-static --disable-shared
|
||||
make
|
||||
make install
|
||||
make install
|
||||
#
|
||||
#cleaning
|
||||
cd ..
|
||||
|
@ -100,4 +100,3 @@ cd $BUILD_DIRECTORY
|
|||
|
||||
#
|
||||
echo "finished!"
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz
|
|||
OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz
|
||||
EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2
|
||||
SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz
|
||||
C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz
|
||||
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
|
||||
|
||||
## CONFIG ##
|
||||
|
@ -42,7 +42,7 @@ cd $BUILD_DIRECTORY
|
|||
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --static
|
||||
make
|
||||
make install
|
||||
#
|
||||
#
|
||||
# expat build
|
||||
cd ..
|
||||
$DOWNLOADER $EXPAT
|
||||
|
@ -55,8 +55,8 @@ cd $BUILD_DIRECTORY
|
|||
# c-ares build
|
||||
cd ..
|
||||
$DOWNLOADER $C_ARES
|
||||
tar zxvf c-ares-1.11.0.tar.gz
|
||||
cd c-ares-1.11.0/
|
||||
tar zxvf c-ares-1.12.0.tar.gz
|
||||
cd c-ares-1.12.0/
|
||||
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared
|
||||
make
|
||||
make install
|
||||
|
|
Loading…
Reference in New Issue
Block a user