Skip to content

Commit

Permalink
[build] do not link to liblua
Browse files Browse the repository at this point in the history
See "Do Not Link Modules to the Lua Core Libraries" on
http://lua-users.org/wiki/BuildingModules

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
  • Loading branch information
ncopa committed Nov 29, 2013
1 parent dc6110f commit 51811e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions makefile
Expand Up @@ -2,17 +2,15 @@ LUAPATH = /usr/local/share/lua/5.1
LUACPATH = /usr/local/lib/lua/5.1
INCDIR = -I/usr/include/lua5.1
LIBDIR = -L/usr/lib
LUALIB = lua5.1

ifeq ($(OPENWRT_BUILD),1)
INCDIR =
LIBDIR =
LUALIB = lua
endif

CMOD = mosquitto.so
OBJS = lua-mosquitto.o
LIBS = -l$(LUALIB) -lmosquitto
LIBS = -lmosquitto
CSTD = -std=gnu99

WARN = -Wall -pedantic
Expand Down

0 comments on commit 51811e8

Please sign in to comment.