summaryrefslogtreecommitdiff
path: root/external/libxslt/libxslt-config.patch.1
blob: 5f9d107bd1e727ebc02382e656872a23a102709f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Hack the xslt-config to return paths into WORKDIR.

--- a/xslt-config.in	Wed Jan 17 14:18:26 2007
+++ b/xslt-config.in	Wed Jun 25 13:06:05 2008
@@ -1,10 +1,16 @@
 #! /bin/sh
 
-prefix=@prefix@
-exec_prefix=@exec_prefix@
+#prefix=@prefix@
+#exec_prefix=@exec_prefix@
+#exec_prefix_set=no
+#includedir=@includedir@
+#libdir=@libdir@
+
+prefix=${WORKDIR}/UnpackedTarball/libxslt
+exec_prefix=${WORKDIR}/UnpackedTarball/libxslt
 exec_prefix_set=no
-includedir=@includedir@
-libdir=@libdir@
+includedir=${WORKDIR}/UnpackedTarball/libxslt
+libdir=${WORKDIR}/UnpackedTarball/libxslt
 
 usage()
 {
@@ -89,7 +95,8 @@
     shift
 done
 
-the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@"
+#the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@"
+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