]> pilppa.com Git - uci.git/commitdiff
fix lua binding include path
authorFelix Fietkau <nbd@openwrt.org>
Thu, 4 Sep 2008 23:59:14 +0000 (01:59 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 4 Sep 2008 23:59:14 +0000 (01:59 +0200)
lua/Makefile

index 7dbe6964b14e81a33c2afa5965dca7983e8de13d..ba5205fbcd728b1b028a7d649fa7df533874a888 100644 (file)
@@ -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)