mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 10:38:21 +04:00
Improve libexslt optional patch to silent confusing output. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
35 lines
964 B
Diff
35 lines
964 B
Diff
--- a/auto/options
|
|
+++ b/auto/options
|
|
@@ -165,6 +165,7 @@ USE_PERL=NO
|
|
NGX_PERL=perl
|
|
|
|
USE_LIBXSLT=NO
|
|
+USE_LIBEXSLT=NO
|
|
USE_LIBGD=NO
|
|
USE_GEOIP=NO
|
|
|
|
@@ -370,6 +371,7 @@ use the \"--with-mail_ssl_module\" optio
|
|
--with-pcre-opt=*) PCRE_OPT="$value" ;;
|
|
--with-pcre-jit) PCRE_JIT=YES ;;
|
|
--without-pcre2) PCRE2=DISABLED ;;
|
|
+ --with-libexslt) USE_LIBEXSLT=YES ;;
|
|
|
|
--with-openssl=*) OPENSSL="$value" ;;
|
|
--with-openssl-opt=*) OPENSSL_OPT="$value" ;;
|
|
--- a/auto/lib/libxslt/conf
|
|
+++ b/auto/lib/libxslt/conf
|
|
@@ -96,6 +96,8 @@ END
|
|
fi
|
|
|
|
|
|
+if [ $USE_LIBEXSLT = YES ]; then
|
|
+
|
|
ngx_feature="libexslt"
|
|
ngx_feature_name=NGX_HAVE_EXSLT
|
|
ngx_feature_run=no
|
|
@@ -163,3 +165,4 @@ if [ $ngx_found = yes ]; then
|
|
|
|
NGX_LIB_LIBXSLT="$NGX_LIB_LIBXSLT -lexslt"
|
|
fi
|
|
+fi
|