From de49369d57cfd892084d20f2566510623e0a892a Mon Sep 17 00:00:00 2001 From: carregal Date: Thu, 5 Mar 2009 23:57:20 +0000 Subject: [PATCH] =?UTF-8?q?Fixing=20bug=20[47542]=20Sqlite3=20driver=20doe?= =?UTF-8?q?s=20not=20build=20on=20Windows.=20Bug=20report=20and=20patch=20?= =?UTF-8?q?by=20Ignacio=20Burgue=C3=B1o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile.win.sqlite3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.win.sqlite3 b/Makefile.win.sqlite3 index 8992c2a..c1d4e30 100644 --- a/Makefile.win.sqlite3 +++ b/Makefile.win.sqlite3 @@ -11,19 +11,19 @@ DRIVER_OBJ="c:\sqlite3\sqlite3.obj" OBJS= src\luasql.obj src\ls_$T.obj $(DRIVER_OBJ) .c.obj: - cl /c /Fo$@ /O2 /I$(LUA_INC) /DWIN32 /D_CRT_SECURE_NO_DEPRECATE $(DRIVER_INCLUDE) $< + cl /c /Fo$@ /O2 /MD /I$(LUA_INC) /DWIN32 /D_CRT_SECURE_NO_DEPRECATE $(DRIVER_INCLUDE) $< src\$T.dll: $(OBJS) link /dll /def:src\$T.def /out:$@ $(OBJS) $(LUA_LIB) install: - IF NOT EXIST $(LUA_LIBDIR)\luasql mkdir $(LUA_LIBDIR)\luasql - copy src\$T.dll $(LUA_LIBDIR)\luasql + IF NOT EXIST "$(LUA_LIBDIR)\luasql" mkdir "$(LUA_LIBDIR)\luasql" + copy "src\$T.dll" "$(LUA_LIBDIR)\luasql" jdbc_driver: cd src\jdbc nmake -f Makefile.win $@ - + clean: del src\$T.dll del src\$T.exp