From 02b40657dd96d3be1cde55274d2efd65485726e0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 24 Apr 2011 17:14:00 +0200 Subject: Fix build for windows --- binary/mingw/libodb-qt-configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'binary/mingw/libodb-qt-configure') diff --git a/binary/mingw/libodb-qt-configure b/binary/mingw/libodb-qt-configure index ea8dd72..bc9b88a 100755 --- a/binary/mingw/libodb-qt-configure +++ b/binary/mingw/libodb-qt-configure @@ -1,5 +1,7 @@ #! /bin/sh +wd=`pwd` + ./configure \ --disable-shared \ --enable-static \ @@ -7,4 +9,6 @@ --target i686-mingw32 \ --prefix=/mingw \ --with-libodb=../libodb \ -CXXFLAGS="-O2 -W -Wall" +CXXFLAGS="-O2 -W -Wall" \ +CPPFLAGS="-I$wd/../cross/qtcore/include -I$wd/../cross/qtcore/include/QtCore" \ +LDFLAGS="-L$wd/../cross/qtcore/lib" -- cgit v1.1