blob: e75250b884bda3e3570868622a6fdab9d4289bd3 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From f47d569311d51ec9ab5dad7452b43c1b5a8290b6 Mon Sep 17 00:00:00 2001
2From: Glenn Strauss <gstrauss@gluelogic.com>
3Date: Tue, 1 Dec 2020 16:41:58 -0500
4Subject: [PATCH] [PATCH] [meson] do not search for lua versions
5
6openwrt net/lighttpd/Makefile declares dependency on liblua, and not on
7specific lua versions, so have meson.build look for 'lua' and not for
8specific lua versions.
9
10Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
11---
12 src/meson.build | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15--- a/src/meson.build
16+++ b/src/meson.build
17@@ -377,7 +377,7 @@ endif
18 liblua = []
19 if get_option('with_lua')
20 found_lua = false
21- foreach l: ['lua5.4', 'lua-5.4', 'lua5.3', 'lua-5.3', 'lua5.2', 'lua-5.2', 'lua5.1', 'lua-5.1', 'lua']
22+ foreach l: ['lua']
23 if not(found_lua)
24 liblua = dependency(l, required: false)
25 if (liblua.found())