Skip to content

Instantly share code, notes, and snippets.

@raa0121
Created March 23, 2016 14:33
Show Gist options
  • Save raa0121/2810e43552b3c36a6187 to your computer and use it in GitHub Desktop.
Save raa0121/2810e43552b3c36a6187 to your computer and use it in GitHub Desktop.
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index 9bb26aa..e5c9933 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -444,7 +444,11 @@ endif
endif
ifdef LUA
+ifeq (yes, $(LUAJIT))
+CFLAGS += -I$(LUA)/include/$(LUAJIT_VER) -DFEAT_LUA
+else
CFLAGS += -I$(LUA)/include -I$(LUA) -DFEAT_LUA
+endif
ifeq (yes, $(DYNAMIC_LUA))
CFLAGS += -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua$(LUA_VER).dll\"
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment