From d0fc5c3ef3d13d94c113bd71fffb3df335444b79 Mon Sep 17 00:00:00 2001 From: Thomas Harning Jr Date: Sat, 15 Jan 2011 20:35:09 -0500 Subject: [PATCH] base: removes direct dependency on liblua since Lua modules should not directly link --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9620648..c04dc89 100644 --- a/Makefile +++ b/Makefile @@ -9,18 +9,16 @@ LDFLAGS = -shared # Directories LUA_INC_DIR ?= /usr/include/lua5.1 -LUA_LIB_DIR ?= /usr/lib INSTALL_DIR_LUA ?= /usr/share/lua/5.1 INSTALL_DIR_BIN ?= /usr/lib/lua/5.1 # Files -LUA_LIB ?= lua5.1 LIB = core.so all: $(CC) $(CFLAGS) -c -Iinclude -I$(LUA_INC_DIR) src/*.c - $(CC) $(LDFLAGS) -o $(LIB) *.o -L$(LUA_LIB_DIR) -l$(LUA_LIB) -levent + $(CC) $(LDFLAGS) -o $(LIB) *.o -levent install: all mkdir -p $(DESTDIR)$(INSTALL_DIR_LUA) -- 2.11.4.GIT