Fixing bug [47542] Sqlite3 driver does not build on Windows. Bug report and patch by Ignacio Burgueño
This commit is contained in:
parent
ec9a119e9d
commit
de49369d57
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user