summaryrefslogtreecommitdiff
path: root/src/imlua_jp2.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/imlua_jp2.mak')
-rw-r--r--src/imlua_jp2.mak10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/imlua_jp2.mak b/src/imlua_jp2.mak
index 71a5853..8afd596 100644
--- a/src/imlua_jp2.mak
+++ b/src/imlua_jp2.mak
@@ -1,5 +1,5 @@
PROJNAME = im
-LIBNAME = imlua_jp251
+LIBNAME = imlua_jp2
DEF_FILE = imlua_jp2.def
OPT = YES
@@ -12,7 +12,13 @@ LIBS = im_jp2
INCLUDES = lua5
+ifdef USE_LUA52
+ LIBNAME := $(LIBNAME)52
+else
+ USE_LUA51 = Yes
+ LIBNAME := $(LIBNAME)51
+endif
+
USE_IMLUA = Yes
-USE_LUA51 = Yes
NO_LUALINK = Yes
IM = ..