blob: 689898d2feac5d9f3538b74a4555a1ccd3738cbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- a/nginx-mod-dav-ext/config
+++ b/nginx-mod-dav-ext/config
@@ -8,9 +8,8 @@ ngx_module_name=ngx_http_dav_ext_module
# building nginx with the xslt module, in which case libxslt will
# be linked anyway. In other cases libxslt is just redundant.
# If that's a big deal, libxml2 can be linked directly:
-# ngx_module_libs=-lxml2
-
-ngx_module_libs=LIBXSLT
+ngx_module_libs=-lxml2
+ngx_module_incs=$(pkg-config --cflags-only-I libxml-2.0 | sed 's/^-I//')
ngx_module_srcs="$ngx_addon_dir/ngx_http_dav_ext_module.c"
|