From 122bf8d20e0b06b244f81e9c05b22a13d4db5b15 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 1 Mar 2015 10:44:10 +0100 Subject: fixed local tolua to use local lua library and include dirs) --- tolua/src/bin/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tolua/src/bin/GNUmakefile') diff --git a/tolua/src/bin/GNUmakefile b/tolua/src/bin/GNUmakefile index 93daf77..96d0143 100644 --- a/tolua/src/bin/GNUmakefile +++ b/tolua/src/bin/GNUmakefile @@ -20,7 +20,7 @@ $(T): $(OBJS) $(CC) -o $@ $(OBJS) $(LIB) -ltolua -llua -lm toluabind.c: $(T_D) - $(T_D) -o toluabind.c tolua.pkg + LD_LIBRARY_PATH=$(LUALIB) $(T_D) -o toluabind.c tolua.pkg $(T_D): $(OBJS_D) $(CC) -o $@ $(OBJS_D) $(LIB) -ltolua -llua -lm -- cgit v1.2.3-54-g00ecf