Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > b943d0ca49c44a6952978c3d40f2250a > files > 1

apr-1.4.2-1mdv2010.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	2009-07-01 23:43:47.000000000 +0200
+++ configure.in.oden	2009-07-04 18:30:17.000000000 +0200
@@ -207,7 +207,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)'