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