|
@@ -15,13 +15,14 @@ diff --git a/auto/lib/libxslt/conf b/auto/lib/libxslt/conf
|
|
|
index 3a0f37b..3c2a60e 100644
|
|
|
--- a/auto/lib/libxslt/conf
|
|
|
+++ b/auto/lib/libxslt/conf
|
|
|
-@@ -12,8 +12,8 @@
|
|
|
+@@ -12,8 +12,9 @@
|
|
|
#include <libxslt/xsltInternals.h>
|
|
|
#include <libxslt/transform.h>
|
|
|
#include <libxslt/xsltutils.h>"
|
|
|
- ngx_feature_path="/usr/include/libxml2"
|
|
|
- ngx_feature_libs="-lxml2 -lxslt"
|
|
|
-+ ngx_feature_path="$(${PKG_CONFIG:=pkg-config} --cflags-only-I libxslt|sed 's/-I//g')"
|
|
|
++ ngx_feature_path="$(${PKG_CONFIG:=pkg-config} --cflags-only-I libxslt|
|
|
|
++ sed -re 's/(^|\s)-I\s*(\S+)/\1\2/g')"
|
|
|
+ ngx_feature_libs="$(${PKG_CONFIG:=pkg-config} --libs libxslt)"
|
|
|
ngx_feature_test="xmlParserCtxtPtr ctxt = NULL;
|
|
|
xsltStylesheetPtr sheet = NULL;
|