commit 5d7223e9080c5a9660c0697241f9350c8734148d parent 62e281996f23c79e0f657a648c2474a81ff361db Author: Michael Savage <mikejsavage@gmail.com> Date: Thu, 4 Dec 2014 23:17:57 +0000 Try to fix building on OS X. #6 Diffstat:
Makefile | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -11,6 +11,12 @@ ifdef LUA_INCDIR CFLAGS += -I$(LUA_INCDIR) endif +ifneq ($(OS),Windows_NT) + ifeq ($(shell uname -s),Darwin) + CFLAGS += -bundle -undefined dynamic_lookup + endif +endif + .PHONY: debug test clean all: $(TARGET)