summaryrefslogtreecommitdiff
path: root/binary/mingw/odb-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-23 11:57:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-23 11:57:17 +0200
commitafc81e5cb09219770a8a5b8cd2855b45ece0a42a (patch)
tree66b7db87067ce3190fd95fe831bc72d80c50df89 /binary/mingw/odb-configure
parent8fc1fc844a9695fb0d1d5d3c13393d4709ce7592 (diff)
Add build scripts for Windows binary
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