Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > da3015ece393f3115e738ea4b0aa0efd > files > 1

apr-1.3.3-5mdv2009.1.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)'