2010-12-23 04:18:18 +00:00
|
|
|
#!/bin/sh -x
|
2012-11-29 02:19:09 +00:00
|
|
|
set -e
|
2021-04-01 23:55:16 +00:00
|
|
|
mkdir -p native i686-w64-mingw32.static
|
2012-11-29 02:19:09 +00:00
|
|
|
cd native
|
|
|
|
../../configure \
|
2021-04-01 23:55:16 +00:00
|
|
|
--enable-silent-rules \
|
2012-11-29 02:19:09 +00:00
|
|
|
--disable-shared \
|
|
|
|
--without-clients \
|
|
|
|
--without-servers \
|
2021-04-01 23:55:16 +00:00
|
|
|
--with-tools=qfcc,pak,qwaq
|
|
|
|
cd ../i686-w64-mingw32.static
|
2012-12-14 08:03:52 +00:00
|
|
|
export MINGW=/opt/mxe
|
2021-04-01 23:55:16 +00:00
|
|
|
export MINGW_USR=$MINGW/usr/i686-w64-mingw32.static
|
2012-11-29 02:19:09 +00:00
|
|
|
export PKG_CONFIG_LIBDIR=$MINGW_USR/lib/pkgconfig
|
|
|
|
export PKG_CONFIG_PATH=$MINGW_USR/local/lib/pkgconfig
|
2010-12-23 02:45:08 +00:00
|
|
|
export PATH=$MINGW/usr/bin:$PATH
|
2023-03-25 12:36:45 +00:00
|
|
|
export QCSYSPREFIX=$MINGW_USR
|
2012-11-29 02:19:09 +00:00
|
|
|
../../configure \
|
2021-04-01 23:55:16 +00:00
|
|
|
--host=i686-w64-mingw32.static \
|
2012-11-29 02:19:09 +00:00
|
|
|
--disable-shared \
|
2010-12-23 04:18:18 +00:00
|
|
|
$*
|