aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.lua.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.lua.mk b/Mk/bsd.lua.mk
index 63e17085e0c8..ae851b6dfe91 100644
--- a/Mk/bsd.lua.mk
+++ b/Mk/bsd.lua.mk
@@ -257,7 +257,7 @@ HAVE_LUA:= ${_HAVE_LUA}
# Used for autodetection of installed versions.
.if defined(_WX_Need_Version)
-_LUA_VER_INSTALLED:= ${_HAVE_LUA}
+_LUA_VER_INSTALLED:= ${_HAVE_LUA:Mlua-*:S/lua-//}
.endif
#