From: Felix Fietkau Date: Thu, 4 Sep 2008 23:59:14 +0000 (+0200) Subject: fix lua binding include path X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e9b46ce12d4ab204cd4a13999c0e04107c8f7d7d;p=uci.git fix lua binding include path --- diff --git a/lua/Makefile b/lua/Makefile index 7dbe696..ba5205f 100644 --- a/lua/Makefile +++ b/lua/Makefile @@ -18,7 +18,7 @@ libdir=$(prefix)/libs luadir=$(if $(LUA_PLUGINDIR),$(LUA_PLUGINDIR),$(libdir)/lua/$(LUA_VERSION)) luainc=$(shell pkg-config --silence-errors --cflags lua$(LUA_VERSION)) -CPPFLAGS=-I.. -I$(if $(luainc),$(luainc),$(LUA_PREFIX)/include) +CPPFLAGS=-I.. $(if $(luainc),$(luainc), -I$(LUA_PREFIX)/include) LIBS=-L.. -luci $(shell pkg-config --silence-errors --libs lua$(LUA_VERSION)) PLUGIN_LD=$(CC)