summaryrefslogtreecommitdiff
path: root/src/tecmake_compact.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/tecmake_compact.mak')
-rw-r--r--src/tecmake_compact.mak6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tecmake_compact.mak b/src/tecmake_compact.mak
index d1a61ff..d4fe0af 100644
--- a/src/tecmake_compact.mak
+++ b/src/tecmake_compact.mak
@@ -635,8 +635,10 @@ ifdef USE_LUA
ifndef NO_LUALIB
LIBS += lualib$(LUASUFX)
endif
- LIBS += lua$(LUASUFX)
- LDIR += $(LUA_LIB)
+ ifndef NO_LUALINK
+ LIBS += lua$(LUASUFX)
+ LDIR += $(LUA_LIB)
+ endif
endif
LUA_INC ?= $(LUA)/include