summaryrefslogtreecommitdiff
path: root/src/cdluacontextplus5.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdluacontextplus5.mak')
-rw-r--r--src/cdluacontextplus5.mak10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/cdluacontextplus5.mak b/src/cdluacontextplus5.mak
index c00fe0d..29dc446 100644
--- a/src/cdluacontextplus5.mak
+++ b/src/cdluacontextplus5.mak
@@ -1,5 +1,5 @@
PROJNAME = cd
-LIBNAME = cdluacontextplus51
+LIBNAME = cdluacontextplus
OPT = YES
@@ -10,7 +10,13 @@ DEF_FILE = cdluacontextplus5.def
LIBS = cdcontextplus
-USE_LUA51 = Yes
+ifdef USE_LUA52
+ LIBNAME := $(LIBNAME)52
+else
+ USE_LUA51 = Yes
+ LIBNAME := $(LIBNAME)51
+endif
+
NO_LUALINK = Yes
USE_CD = YES
USE_CDLUA = YES