From 922bb49f892e6da8d0dd6eaae3edff62ab300980 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Mon, 25 Jul 2011 14:19:44 +0200 Subject: Update mingw build script to include pgsql --- test/windows/odb/mingw/build | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/windows/odb/mingw/build b/test/windows/odb/mingw/build index 9065265..bf65db2 100755 --- a/test/windows/odb/mingw/build +++ b/test/windows/odb/mingw/build @@ -23,15 +23,17 @@ function clean () ROOT=/c/projects MYSQL=$ROOT/mysql-mingw32 SQLITE=$ROOT/sqlite-mingw32 +PGSQL=$ROOT/pgsql-mingw32 BOOST=$ROOT/boost-mingw32 QTCORE=$ROOT/qtcore-mingw32 -CPPFLAGS="-I$BOOST -I$QTCORE/include -I$QTCORE/include/QtCore -I$SQLITE -I$MYSQL/include" -LDFLAGS="-L$BOOST/stage/lib -L$QTCORE/lib -L$SQLITE -L$MYSQL/lib -Wl,--enable-auto-import" +CPPFLAGS="-I$BOOST -I$QTCORE/include -I$QTCORE/include/QtCore -I$PGSQL/include -I$SQLITE -I$MYSQL/include" +LDFLAGS="-L$BOOST/stage/lib -L$QTCORE/lib -L$PGSQL/lib -L$SQLITE -L$MYSQL/lib -Wl,--enable-auto-import" PATH="$QTCORE/bin:$PATH" mysql_options="--with-mysql-host=192.168.0.5 --with-mysql-client=$MYSQL/bin/mysql.exe" sqlite_options="--with-sqlite-db=c:\\projects\\odb\\odb_test.db" +pgsql_options="--with-pgsql-host=192.168.0.5 --with-pgsql-client=$PGSQL/bin/psql.exe" test=n rebuild=n @@ -60,13 +62,14 @@ while [ $# -gt 0 ]; do done if [ "$db" = "" ]; then - db="sqlite mysql" + db="pgsql sqlite mysql" fi # Clean everything up if we are rebuilding. # if [ $rebuild = y ]; then clean libodb + clean libodb-pgsql clean libodb-sqlite clean libodb-mysql clean libodb-tracer -- cgit v1.1