build: ensure we set ENABLE_LUA_OLD when using a lua interpreter
authorStefan Schmidt <s.schmidt@samsung.com>
Mon, 11 May 2020 15:17:47 +0000 (17:17 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 12 May 2020 21:49:07 +0000 (06:49 +0900)
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

meson.build

index 5732d85..e73425c 100644 (file)
@@ -267,6 +267,7 @@ luaold_interpreters = [
 lua_pc_name = ''
 
 if get_option('lua-interpreter') == 'lua'
+  config_h.set('ENABLE_LUA_OLD', '1')
   foreach l : luaold_interpreters
     lua = dependency(l[0], version: l[1], required:false)
     lua_pc_name = l[0]