diff options
author | Samuel Thibault <sthibault@hypra.fr> | 2018-02-21 15:51:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-02-28 22:54:21 +0100 |
commit | 84ef6d82546b044990f4efd57e51e29c6c6565c8 (patch) | |
tree | 8f6d9e140c2d3731bb4a44eb58d09e359ab33ca6 /external/libxslt | |
parent | e215310d6b531b8af39c86639ef88495470681bc (diff) |
Build external lxml if not provided by system
except on windows, where gla11y will resort to python's internal xml parser,
which does not provide line numbers.
This allows gla11y to be runnable on all systems.
Change-Id: Ica4eb90f59bddfcefd783fc2ed9c8c27357e7572
Reviewed-on: https://gerrit.libreoffice.org/50115
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/libxslt')
-rw-r--r-- | external/libxslt/libxslt-config.patch.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/external/libxslt/libxslt-config.patch.1 b/external/libxslt/libxslt-config.patch.1 index 7e2936357671..5f9d107bd1e7 100644 --- a/external/libxslt/libxslt-config.patch.1 +++ b/external/libxslt/libxslt-config.patch.1 @@ -18,8 +18,8 @@ Hack the xslt-config to return paths into WORKDIR. exec_prefix_set=no -includedir=@includedir@ -libdir=@libdir@ -+includedir=${WORKDIR}/UnpackedTarball/libxslt/libxslt -+libdir=${WORKDIR}/UnpackedTarball/libxslt/libxslt/.libs ++includedir=${WORKDIR}/UnpackedTarball/libxslt ++libdir=${WORKDIR}/UnpackedTarball/libxslt usage() { @@ -29,7 +29,7 @@ Hack the xslt-config to return paths into WORKDIR. -the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@" +#the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@" -+the_libs="-L${libdir} -lxslt -lm" ++the_libs="-L${libdir}/libxslt/.libs -L${libdir}/libexslt/.libs -lxslt -lm" if test "$includedir" != "/usr/include"; then the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`" else |