Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 54086fce1daf581730a2d279ef6aaa3d > files > 1

apr-1.3.3-2mdv2009.0.src.rpm


- link libapr against libraries on which it depends
- re-order link line so that -pthread can be passed down to the
compiler driver with an appropriate LT_LDFLAGS

--- configure.in	2008-05-02 20:55:47.000000000 +0200
+++ configure.in.oden	2008-06-04 14:29:12.000000000 +0200
@@ -199,7 +199,7 @@
 if test "x$use_libtool" = "xyes"; then
       lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@'
       LT_VERSION="-version-info `$get_version libtool $version_hdr APR`"
-      link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(LT_LDFLAGS) \$(COMPILE) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@"
+      link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(COMPILE) \$(LT_LDFLAGS) \${LT_VERSION} \$(ALL_LDFLAGS) -o \$@"
       so_ext='lo'
       lib_target='-rpath $(libdir) $(OBJECTS)'
       export_lib_target='-rpath \$(libdir) \$(OBJECTS)'