summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-05-11 17:17:47 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-05-11 17:17:47 +0200
commitf81800ece543b61737ab10c2994a419269087128 (patch)
tree8799258e57515d8578e272f05e0003e6531c9183
parentcf5df21557dc932e9838fad8f5bc00901c700a8a (diff)
build: ensure we set ENABLE_LUA_OLD when using a lua interpreter
We missed to actually set the ENABLE_LUA_OLD. Ross run into some problems with Lua 5.2 builds and we hope this fixes the issue for him. Found and fixed by Marcel Hollerbach (only put in the system by me). Fixes T8705
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 353775f020..0c30d5d042 100644
--- a/meson.build
+++ b/meson.build
@@ -267,6 +267,7 @@ luaold_interpreters = [
267lua_pc_name = '' 267lua_pc_name = ''
268 268
269if get_option('lua-interpreter') == 'lua' 269if get_option('lua-interpreter') == 'lua'
270 config_h.set('ENABLE_LUA_OLD', '1')
270 foreach l : luaold_interpreters 271 foreach l : luaold_interpreters
271 lua = dependency(l[0], version: l[1], required:false) 272 lua = dependency(l[0], version: l[1], required:false)
272 lua_pc_name = l[0] 273 lua_pc_name = l[0]