From 510def1daff70f0227487cbba86907b424cb69b0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 1 Apr 2011 13:25:36 +0200 Subject: Build only requested database runtimes --- test/windows/odb/mingw/build | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) (limited to 'test') 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- # -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 # -- cgit v1.1