summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r--crawl-ref/source/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile
index 17eed16f72..286110a5b4 100644
--- a/crawl-ref/source/Makefile
+++ b/crawl-ref/source/Makefile
@@ -622,6 +622,10 @@ ifndef BUILD_LUA
LIBS += $(shell $(PKGCONFIG) $(LUA_PACKAGE) --libs)
endif
+ifdef USE_LUAJIT
+DEFINES_L += -DUSE_LUAJIT
+endif
+
ifndef BUILD_SQLITE
ifeq ($(shell grep -q sqlite3_prepare $(SQLITE_INCLUDE_DIR)/sqlite3.h 2>/dev/null && echo yes),yes)
# INCLUDES_L += -isystem $(SQLITE_INCLUDE_DIR)