summaryrefslogtreecommitdiff
path: root/src/cdluapdf5.mak
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-07 20:43:01 +0000
committerscuri <scuri>2010-06-07 20:43:01 +0000
commitc5f7b4e29afdd70a0f05d8785619585a45916b27 (patch)
tree739378edfb1332902125c8ac5f2f72d5435f7d10 /src/cdluapdf5.mak
parent7ea2076b1a258126f5215e698eeb121b39dc43da (diff)
*** empty log message ***
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