From fc9a9593d2852be28eebac9f04c2f44e799e5413 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Wed, 27 Feb 2013 10:44:42 +0000 Subject: [PATCH] Added sqlite to linux_lua target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9990aca6..4fcb4cff 100644 --- a/Makefile +++ b/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