forked from ldm5180/hammerhead
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure-mingw32.sh
executable file
·36 lines (26 loc) · 1.14 KB
/
configure-mingw32.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/sh
#export PKG_CONFIG_PATH=/home/bmarshall/src/glib2/lib/pkgconfig
#export PKG_CONFIG_LIBDIR=/home/bmarshall/src/glib2/lib/pkgconfig
export PKG_CONFIG_LIBDIR=/usr/i586-mingw32msvc/lib/pkgconfig
#export GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0 gthread-2.0`
#export GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0 gthread-2.0`
#export OPENSSL_LIBS="-L/home/bmarshall/src/openssl/OpenSSL/lib/MinGW -lssleay32 -llibeay32"
#export OPENSSL_LIBS="/home/bmarshall/src/openssl/OpenSSL/lib/MinGW/ssleay32.a /home/bmarshall/src/openssl/OpenSSL/lib/MinGW/libeay32.a"
#export OPENSSL_CFLAGS=-I/home/bmarshall/src/openssl/OpenSSL/include
export AVAHI_COMPAT_LIBDNS_SD_LIBS="-L/home/bmarshall/src/bonjour/sdk/lib/win32 -ldnssd"
export AVAHI_COMPAT_LIBDNS_SD_CFLAGS=-I/home/bmarshall/src/bonjour/sdk/include
#../../glib2.bzr/glib-2.22.4/mingw-configure
./configure \
--host=i586-mingw32msvc \
--prefix=/usr/i586-mingw32msvc \
--disable-ccache \
--disable-exe \
--disable-habs \
--disable-clients \
--disable-bdm \
--disable-python \
--disable-qt4 \
--disable-alsa \
--disable-bluetooth \
--without-ion \
--enable-shared