diff options
author | Thomas Harning Jr <harningt@gmail.com> | 2011-01-15 20:35:09 -0500 |
---|---|---|
committer | Thomas Harning Jr <harningt@gmail.com> | 2011-01-15 20:35:09 -0500 |
commit | a9060c1c633cec8e4e6124b718bbe064726a2b7e (patch) | |
tree | dc782d8f6630476ac833ddbb8df95a47eb7f80c0 | |
parent | 35246543e03676ba0e55a8c742a93ccbffda3fea (diff) | |
download | luaevent-prosody-a9060c1c633cec8e4e6124b718bbe064726a2b7e.tar.gz luaevent-prosody-a9060c1c633cec8e4e6124b718bbe064726a2b7e.zip |
base: removes direct dependency on liblua since Lua modules should not directly link
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) |