trying to fix bug #60890 Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Thu, 4 Oct 2001 13:50:56 +0000 (13:50 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Thu, 4 Oct 2001 13:50:56 +0000 (13:50 +0000)
* configure.in xslt-config.in: trying to fix bug #60890
Daniel

ChangeLog
configure.in
xslt-config.in

index 713d0bb..d06ff5e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct  4 15:49:57 CEST 2001 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in xslt-config.in: trying to fix bug #60890
+
 Thu Oct  4 15:28:25 CEST 2001 Daniel Veillard <daniel@veillard.com>
 
        * configure.in: applied patch to close bug #60724
index 94bc18b..395cc2b 100644 (file)
@@ -217,6 +217,13 @@ AC_SUBST(LIBXML_LIBS)
 AC_SUBST(LIBXML_CFLAGS)
 
 XSLT_LIBDIR='-L${libdir}'
+
+case ${host} in
+    *-*-solaris*)
+        XSLT_LIBDIR="${XSLT_LIBDIR} -R${libdir}"
+       ;;
+esac
+
 XSLT_INCLUDEDIR='-I${includedir}'
 EXTRA_LIBS="$LIBXML_LIBS $M_LIBS"
 XSLT_LIBS="-lxslt $LIBXML_LIBS $M_LIBS"
index b66fb31..6d35d53 100644 (file)
@@ -83,7 +83,7 @@ while test $# -gt 0; do
     shift
 done
 
-the_libs="$the_libs -L$libdir -lxslt `@XML_CONFIG@ --libs`"
+the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@"
 the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`"
 
 if $cflags; then