summaryrefslogtreecommitdiff
path: root/src/imlua_avi.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/imlua_avi.mak')
-rw-r--r--src/imlua_avi.mak10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/imlua_avi.mak b/src/imlua_avi.mak
index b05656f..e870be5 100644
--- a/src/imlua_avi.mak
+++ b/src/imlua_avi.mak
@@ -1,5 +1,5 @@
PROJNAME = im
-LIBNAME = imlua_avi51
+LIBNAME = imlua_avi
DEF_FILE = imlua_avi.def
OPT = YES
@@ -12,7 +12,13 @@ LIBS = im_avi
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 = ..