summaryrefslogtreecommitdiff
path: root/binary/mingw-w64/libodb-qt-configure
diff options
context:
space:
mode:
Diffstat (limited to 'binary/mingw-w64/libodb-qt-configure')
-rwxr-xr-xbinary/mingw-w64/libodb-qt-configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/binary/mingw-w64/libodb-qt-configure b/binary/mingw-w64/libodb-qt-configure
new file mode 100755
index 0000000..f3a2734
--- /dev/null
+++ b/binary/mingw-w64/libodb-qt-configure
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+wd=`pwd`
+
+./configure \
+--disable-shared \
+--enable-static \
+--host i686-w64-mingw32 \
+--target i686-w64-mingw32 \
+--prefix=/mingw \
+--with-libodb=../libodb \
+CXXFLAGS="-O2 -W -Wall" \
+CPPFLAGS="-I$wd/../cross/qtcore/include -I$wd/../cross/qtcore/include/QtCore" \
+LDFLAGS="-L$wd/../cross/qtcore/lib"