2013-01-22 08:50:38 +00:00
|
|
|
#!/bin/sh -x
|
|
|
|
set -e
|
2021-03-27 11:09:37 +00:00
|
|
|
mkdir -p native x86_64-w64-mingw32.static
|
2013-01-22 08:50:38 +00:00
|
|
|
cd native
|
|
|
|
../../configure \
|
2021-03-27 11:09:37 +00:00
|
|
|
--enable-silent-rules \
|
2013-01-22 08:50:38 +00:00
|
|
|
--disable-shared \
|
2023-03-25 12:36:45 +00:00
|
|
|
--disable-optimize \
|
2013-01-22 08:50:38 +00:00
|
|
|
--without-clients \
|
|
|
|
--without-servers \
|
2021-03-27 11:09:37 +00:00
|
|
|
--with-tools=qfcc,pak,qwaq
|
|
|
|
cd ../x86_64-w64-mingw32.static
|
2013-01-22 08:50:38 +00:00
|
|
|
export MINGW=/opt/mxe
|
2021-03-27 11:09:37 +00:00
|
|
|
export MINGW_USR=$MINGW/usr/x86_64-w64-mingw32.static
|
2013-01-22 08:50:38 +00:00
|
|
|
export PKG_CONFIG_LIBDIR=$MINGW_USR/lib/pkgconfig
|
|
|
|
export PKG_CONFIG_PATH=$MINGW_USR/local/lib/pkgconfig
|
|
|
|
export PATH=$MINGW/usr/bin:$PATH
|
2023-03-25 12:36:45 +00:00
|
|
|
export QCSYSPREFIX=$MINGW_USR
|
2013-01-22 08:50:38 +00:00
|
|
|
../../configure \
|
2021-03-27 11:09:37 +00:00
|
|
|
--host=x86_64-w64-mingw32.static \
|
2013-01-22 08:50:38 +00:00
|
|
|
--disable-shared \
|
|
|
|
$*
|