Updated GNU-Linux config-scripts
This commit is contained in:
parent
dbaafe531f
commit
7bd7ad0657
|
@ -20,6 +20,23 @@ export CFLAGS="-m32"
|
||||||
export CXXFLAGS="-m32"
|
export CXXFLAGS="-m32"
|
||||||
export LDFLAGS="-m32"
|
export LDFLAGS="-m32"
|
||||||
|
|
||||||
CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" PKG_CONFIG_PATH=/opt/aria2-i386/build_libs/lib/pkgconfig/ LD_LIBRARY_PATH=/opt/aria2-i386/build_libs/lib/ CC="$C_COMPILER -m32" CXX="$CXX_COMPILER -m32" ./configure --prefix=$PREFIX --without-libxml2 --without-libgcrypt --with-openssl --without-libnettle --without-gnutls --with-libssh2 --without-libgmp --with-sqlite3 --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt' ARIA2_STATIC=yes --enable-shared=no
|
CFLAGS="-m32" \
|
||||||
|
CXXFLAGS="-m32" \
|
||||||
|
LDFLAGS="-m32" \
|
||||||
|
PKG_CONFIG_PATH=/opt/aria2-i386/build_libs/lib/pkgconfig/ \
|
||||||
|
LD_LIBRARY_PATH=/opt/aria2-i386/build_libs/lib/ \
|
||||||
|
CC="$C_COMPILER -m32" \
|
||||||
|
CXX="$CXX_COMPILER -m32" \
|
||||||
|
./configure \
|
||||||
|
--prefix=$PREFIX \
|
||||||
|
--without-libxml2 \
|
||||||
|
--without-libgcrypt \
|
||||||
|
--with-openssl \
|
||||||
|
--without-libnettle \
|
||||||
|
--without-gnutls \
|
||||||
|
--with-libssh2 \
|
||||||
|
--without-libgmp \
|
||||||
|
--with-sqlite3 \
|
||||||
|
--with-ca-bundle='/etc/ssl/certs/ca-certificates.crt' \
|
||||||
|
ARIA2_STATIC=yes \
|
||||||
|
--enable-shared=no
|
||||||
|
|
|
@ -15,6 +15,20 @@ C_COMPILER="gcc"
|
||||||
CXX_COMPILER="g++"
|
CXX_COMPILER="g++"
|
||||||
|
|
||||||
## BUILD ##
|
## BUILD ##
|
||||||
PKG_CONFIG_PATH=/opt/aria2/build_libs/lib/pkgconfig/ LD_LIBRARY_PATH=/opt/aria2/build_libs/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --prefix=$PREFIX --without-libxml2 --without-libgcrypt --with-openssl --without-libnettle --without-gnutls --without-libgmp --with-libssh2 --with-sqlite3 --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt' ARIA2_STATIC=yes --enable-shared=no
|
PKG_CONFIG_PATH=/opt/aria2/build_libs/lib/pkgconfig/ \
|
||||||
|
LD_LIBRARY_PATH=/opt/aria2/build_libs/lib/ \
|
||||||
|
CC="$C_COMPILER" \
|
||||||
|
CXX="$CXX_COMPILER" \
|
||||||
|
./configure \
|
||||||
|
--prefix=$PREFIX \
|
||||||
|
--without-libxml2 \
|
||||||
|
--without-libgcrypt \
|
||||||
|
--with-openssl \
|
||||||
|
--without-libnettle \
|
||||||
|
--without-gnutls \
|
||||||
|
--without-libgmp \
|
||||||
|
--with-libssh2 \
|
||||||
|
--with-sqlite3 \
|
||||||
|
--with-ca-bundle='/etc/ssl/certs/ca-certificates.crt' \
|
||||||
|
ARIA2_STATIC=yes \
|
||||||
|
--enable-shared=no
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# In this configuration, the following dependent libraries are used:
|
|
||||||
#
|
|
||||||
# * zlib
|
|
||||||
# * c-ares
|
|
||||||
# * expat
|
|
||||||
# * sqlite3
|
|
||||||
# * openSSL
|
|
||||||
|
|
||||||
HOST=i686-w64-mingw32
|
|
||||||
PREFIX=/usr/i686-w64-mingw32
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--host=$HOST \
|
|
||||||
--prefix=$PREFIX \
|
|
||||||
--without-included-gettext \
|
|
||||||
--disable-nls \
|
|
||||||
--with-libcares \
|
|
||||||
--without-gnutls \
|
|
||||||
--without-wintls \
|
|
||||||
--with-openssl \
|
|
||||||
--with-sqlite3 \
|
|
||||||
--without-libxml2 \
|
|
||||||
--with-libexpat \
|
|
||||||
--with-libz \
|
|
||||||
--without-libgmp \
|
|
||||||
--without-libssh2 \
|
|
||||||
--without-libgcrypt \
|
|
||||||
--without-libnettle \
|
|
||||||
--with-cppunit-prefix=$PREFIX \
|
|
||||||
ARIA2_STATIC=yes \
|
|
||||||
CPPFLAGS="-I$PREFIX/include" \
|
|
||||||
LDFLAGS="-L$PREFIX/lib" \
|
|
||||||
PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig"
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user