mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 21:14:32 +04:00
Improve libexslt optional patch to silent confusing output. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
21 lines
866 B
Diff
21 lines
866 B
Diff
--- a/auto/lib/libxslt/conf
|
|
+++ b/auto/lib/libxslt/conf
|
|
@@ -12,7 +12,7 @@
|
|
#include <libxslt/xsltInternals.h>
|
|
#include <libxslt/transform.h>
|
|
#include <libxslt/xsltutils.h>"
|
|
- ngx_feature_path="/usr/include/libxml2"
|
|
+ ngx_feature_path="${LIBXML2_INC:-/usr/include/libxml2}"
|
|
ngx_feature_libs="-lxml2 -lxslt"
|
|
ngx_feature_test="xmlParserCtxtPtr ctxt = NULL;
|
|
xsltStylesheetPtr sheet = NULL;
|
|
@@ -102,7 +102,7 @@ if [ $USE_LIBEXSLT = YES ]; then
|
|
ngx_feature_name=NGX_HAVE_EXSLT
|
|
ngx_feature_run=no
|
|
ngx_feature_incs="#include <libexslt/exslt.h>"
|
|
- ngx_feature_path="/usr/include/libxml2"
|
|
+ ngx_feature_path="${LIBXML2_INC:-/usr/include/libxml2}"
|
|
ngx_feature_libs="-lexslt"
|
|
ngx_feature_test="exsltRegisterAll();"
|
|
. auto/feature
|