summaryrefslogtreecommitdiff
path: root/src/cdluapdf5.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdluapdf5.mak')
-rw-r--r--src/cdluapdf5.mak10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/cdluapdf5.mak b/src/cdluapdf5.mak
index 8b869c6..913aeee 100644
--- a/src/cdluapdf5.mak
+++ b/src/cdluapdf5.mak
@@ -1,5 +1,5 @@
PROJNAME = cd
-LIBNAME = cdluapdf51
+LIBNAME = cdluapdf
OPT = YES
@@ -10,7 +10,13 @@ DEF_FILE = cdluapdf5.def
LIBS = cdpdf
-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