summaryrefslogtreecommitdiff
path: root/binary/mingw/odb-configure
diff options
context:
space:
mode:
Diffstat (limited to 'binary/mingw/odb-configure')
-rwxr-xr-xbinary/mingw/odb-configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/binary/mingw/odb-configure b/binary/mingw/odb-configure
new file mode 100755
index 0000000..337c98f
--- /dev/null
+++ b/binary/mingw/odb-configure
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+../odb/configure \
+--disable-shared \
+--enable-static \
+--host i686-mingw32 \
+--target i686-mingw32 \
+--prefix=/tmp/odb-$1-i686-windows \
+--with-libcutl=../libcutl \
+--with-gxx-name='..\\mingw\\bin\\g++.exe' \
+--with-options-file='..\\etc\\odb\\default.options' \
+CPPFLAGS=-I`pwd`/../cross/mingw/include/plugin \
+CXXFLAGS="-O2 -W -Wall" \
+LDFLAGS=-static-libgcc