cid#1607171 Data race condition
[LibreOffice.git] / external / libxslt / libxslt-config.patch.1
blobe4ce5d9e27cfe806b292a5aaeed7c122890626bf
1 Hack the xslt-config to return paths into WORKDIR.
3 --- a/xslt-config.in    Wed Jan 17 14:18:26 2007
4 +++ b/xslt-config.in    Wed Jun 25 13:06:05 2008
5 @@ -1,10 +1,16 @@
6  #! /bin/sh
7  
8 -prefix=@prefix@
9 -exec_prefix=@exec_prefix@
10 +#prefix=@prefix@
11 +#exec_prefix=@exec_prefix@
12 +#exec_prefix_set=no
13 +#includedir=@includedir@
14 +#libdir=@libdir@
16 +prefix=${WORKDIR}/UnpackedTarball/libxslt
17 +exec_prefix=${WORKDIR}/UnpackedTarball/libxslt
18  exec_prefix_set=no
19 -includedir=@includedir@
20 -libdir=@libdir@
21 +includedir=${WORKDIR}/UnpackedTarball/libxslt
22 +libdir=${WORKDIR}/UnpackedTarball/libxslt
24  usage()
25  {
26 @@ -92,7 +98,8 @@
27              libs="@XSLT_LIBDIR@ $libs"
28          fi
30 -        libs="$libs @EXTRA_LIBS@"
31 +        #libs="$libs @EXTRA_LIBS@"
32 +        libs="-L${libdir}/libxslt/.libs -L${libdir}/libexslt/.libs -lxslt -lm"
33                 ;;
35      *)