diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-01 13:25:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-01 13:25:36 +0200 |
commit | 510def1daff70f0227487cbba86907b424cb69b0 (patch) | |
tree | 8cdac789dd56f42a9706512c5867cb1fd2a95259 /test | |
parent | 0b49bfc996c2fca0f3fb7e1b043976df93ed28f8 (diff) |
Build only requested database runtimes
Diffstat (limited to 'test')
-rwxr-xr-x | test/windows/odb/mingw/build | 27 |
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 # |