You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Justin Erenkrantz <je...@ebuilt.com> on 2001/04/07 20:34:12 UTC

[PATCH] --with-libtool option not specified error

On FreeBSD-4.2-RELEASE (possibly more), it looks like the case when
--with-libtool is not specified (should implictly use libtool in this
case) is out of sync with the "--with-libtool" case.  This patch makes 
the case when "--with-libtool" is not specified identical to when it is
specified.  Otherwise, libapr.a is never built and nothing builds properly.
-- justin

Index: configure.in
===================================================================
RCS file: /home/cvspublic/apr/configure.in,v
retrieving revision 1.280
diff -u -r1.280 configure.in
--- configure.in	2001/04/07 01:02:31	1.280
+++ configure.in	2001/04/07 18:29:52
@@ -108,8 +108,9 @@
       so_ext="o"
     fi ], [
       lt_compile="\$(LIBTOOL) --mode=compile \$(LTFLAGS) \$(COMPILE) -c \$< && touch $@"
-      link="\$(LIBTOOL) --mode=link \$(LTFLAGS) \$(COMPILE) \$(LDFLAGS) -o \$@"
+      link="\$(LIBTOOL) --mode=link \$(LTFLAGS) \$(COMPILE) \$(LDFLAGS) -o \$@ -rpath \$(libdir) \$\$objects"
       so_ext="lo"
+      lib_target="\$(libdir) \$\$objects"
     ] )
 AC_SUBST(lt_compile)
 AC_SUBST(link)