summaryrefslogtreecommitdiff
path: root/test/windows
diff options
context:
space:
mode:
Diffstat (limited to 'test/windows')
-rwxr-xr-xtest/windows/odb/mingw/build27
1 files changed, 9 insertions, 18 deletions
diff --git a/test/windows/odb/mingw/build b/test/windows/odb/mingw/build
index 31c1dc6..b5c6ad0 100755
--- a/test/windows/odb/mingw/build
+++ b/test/windows/odb/mingw/build
@@ -87,27 +87,18 @@ fi
make
cd ..
-# Build libodb-sqlite
+# Build libodb-<db>
#
-cd libodb-sqlite
-
-if [ $rebuild = y -o ! -f Makefile ]; then
- ./configure --with-libodb=../libodb CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
-fi
-
-make
-cd ..
-
-# Build libodb-mysql
-#
-cd libodb-mysql
+for d in $db; do
+ cd libodb-$d
-if [ $rebuild = y -o ! -f Makefile ]; then
- ./configure --with-libodb=../libodb CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
-fi
+ if [ $rebuild = y -o ! -f Makefile ]; then
+ ./configure --with-libodb=../libodb CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
+ fi
-make
-cd ..
+ make
+ cd ..
+done
# Build libodb-tracer
#