summaryrefslogtreecommitdiff
path: root/makefiles/gmake/platform.mk
diff options
context:
space:
mode:
Diffstat (limited to 'makefiles/gmake/platform.mk')
-rw-r--r--makefiles/gmake/platform.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefiles/gmake/platform.mk b/makefiles/gmake/platform.mk
index 7c53844..8e99baa 100644
--- a/makefiles/gmake/platform.mk
+++ b/makefiles/gmake/platform.mk
@@ -364,8 +364,9 @@ endif
ifeq ($(WITH_LUA),1)
TOLUA_DIR = $(TOPDIR)/tolua
+LUA_DIR = $(TOPDIR)/lua
TOLUA = $(TOLUA_DIR)/bin/tolua
-TOLUA_INCLUDES = -I$(TOLUA_DIR)/include
+TOLUA_INCLUDES = -I$(TOLUA_DIR)/include -I$(LUA_DIR)/src
TOLUA_LDFLAGS =
TOLUA_LIBS = $(TOLUA_DIR)/lib/libtolua.a
endif