Преглед изворни кода

Added sqlite to linux_lua target

Sergey Lyubka пре 12 година
родитељ
комит
fc9a9593d2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -76,7 +76,7 @@ all:
 
 # To build with lua, make sure you have Lua unpacked into lua-5.2.1 directory
 linux_lua:
-	$(CC) mongoose.c main.c $(LUA_SOURCES) -DUSE_LUA -I$(LUA) -o $(PROG) -ldl $(CFLAGS)
+	$(CC) mongoose.c main.c build/lsqlite3.c build/sqlite3.c $(LUA_SOURCES) -DUSE_LUA -DUSE_LUA_SQLITE3 -DLUA_COMPAT_ALL -I$(LUA) -o $(PROG) -ldl $(CFLAGS)
 
 # Make sure that the compiler flags come last in the compilation string.
 # If not so, this can break some on some Linux distros which use