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