aboutsummaryrefslogtreecommitdiff
path: root/net/lighttpd/patches/020-meson-mod_webdav_min.patch
blob: 9ee188110287d6c43383a6315979cc55c4b55a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From fe6895e5eb2c17ddad6e95faaac7d56d4dd73256 Mon Sep 17 00:00:00 2001
From: Glenn Strauss <gstrauss@gluelogic.com>
Date: Fri, 20 Jan 2023 18:48:14 -0500
Subject: [PATCH] [meson] mod_webdav_min w/o deps: xml2 sqlite3 uuid

---
 src/meson.build | 8 ++++++++
 1 file changed, 8 insertions(+)

--- a/src/meson.build
+++ b/src/meson.build
@@ -871,6 +871,16 @@ if (host_machine.system() == 'darwin')
 	plugin_suffix = 'so'  # use "so" instead of "dylib"
 endif
 
+modules += [
+  [ 'mod_webdav_min', [ 'mod_webdav.c' ],
+    [ libelftc,
+      declare_dependency(compile_args: [
+        '-DMOD_WEBDAV_BUILD_MINIMAL',
+        '-Dmod_webdav_plugin_init=mod_webdav_min_plugin_init' ] )
+    ]
+  ]
+]
+
 foreach mod: modules
 	mod_name = mod.get(0)
 	mod_sources = mod.get(1)