aria2-static-builds/build-scripts/mingw-config/aria2-i686-w64-mingw-xp-config
2015-10-05 20:30:26 +02:00

36 lines
741 B
Bash
Executable File

#!/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"