summaryrefslogtreecommitdiff
path: root/binary/mingw-w64/libodb-boost-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:11:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:11:53 +0200
commitbb5c65c64ff5ad3d136b351da2d629a9cd8a2ba5 (patch)
tree2036331bd329f4915df9374e4a71a7ef30973486 /binary/mingw-w64/libodb-boost-configure
parent663a6689ba14a422cbc714d113b28dad731c44bf (diff)
Add MinGW-W64 ODB binary build scripts
Diffstat (limited to 'binary/mingw-w64/libodb-boost-configure')
-rwxr-xr-xbinary/mingw-w64/libodb-boost-configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/binary/mingw-w64/libodb-boost-configure b/binary/mingw-w64/libodb-boost-configure
new file mode 100755
index 0000000..9516f1a
--- /dev/null
+++ b/binary/mingw-w64/libodb-boost-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/boost" \
+LDFLAGS="-L$wd/../cross/boost/stage/lib"