lighttpd: update to lighttpd 1.4.61 release hash
[feed/packages.git] / net / lighttpd / patches / 010-meson-lua.patch
1 From f47d569311d51ec9ab5dad7452b43c1b5a8290b6 Mon Sep 17 00:00:00 2001
2 From: Glenn Strauss <gstrauss@gluelogic.com>
3 Date: Tue, 1 Dec 2020 16:41:58 -0500
4 Subject: [PATCH] [PATCH] [meson] do not search for lua versions
5
6 openwrt net/lighttpd/Makefile declares dependency on liblua, and not on
7 specific lua versions, so have meson.build look for 'lua' and not for
8 specific lua versions.
9
10 Signed-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 @@ -390,7 +390,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())