You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by je...@apache.org on 2004/12/09 05:25:12 UTC
svn commit: r111348 - /apr/apr-util/trunk/CHANGES /apr/apr-util/trunk/apu-config.in
Author: jerenkrantz
Date: Wed Dec 8 20:25:08 2004
New Revision: 111348
URL: http://svn.apache.org/viewcvs?view=rev&rev=111348
Log:
Emit the run-time link path option in apu-config after installation if the user
is linking with libtool.
Modified:
apr/apr-util/trunk/CHANGES
apr/apr-util/trunk/apu-config.in
Modified: apr/apr-util/trunk/CHANGES
Url: http://svn.apache.org/viewcvs/apr/apr-util/trunk/CHANGES?view=diff&rev=111348&p1=apr/apr-util/trunk/CHANGES&r1=111347&p2=apr/apr-util/trunk/CHANGES&r2=111348
==============================================================================
--- apr/apr-util/trunk/CHANGES (original)
+++ apr/apr-util/trunk/CHANGES Wed Dec 8 20:25:08 2004
@@ -1,5 +1,8 @@
Changes with APR-util 1.1.0
+ *) Emit the run-time link path option in apu-config after installation
+ if the user is linking with libtool. [Justin Erenkrantz]
+
*) Port testmd4 and testmd5 to the new test suite. [Thom May]
*) Allow passing NULL inbuf/inbytes_left parameters to
Modified: apr/apr-util/trunk/apu-config.in
Url: http://svn.apache.org/viewcvs/apr/apr-util/trunk/apu-config.in?view=diff&rev=111348&p1=apr/apr-util/trunk/apu-config.in&r1=111347&p2=apr/apr-util/trunk/apu-config.in&r2=111348
==============================================================================
--- apr/apr-util/trunk/apu-config.in (original)
+++ apr/apr-util/trunk/apu-config.in Wed Dec 8 20:25:08 2004
@@ -161,7 +161,9 @@
flags="$flags $LA_FILE"
elif test "$location" = "installed"; then
### avoid using -L if libdir is a "standard" location like /usr/lib
- flags="$flags -L$libdir -l$APRUTIL_LIBNAME"
+ # Since the user is specifying they are linking with libtool, we
+ # *know* that -R will be recognized by libtool.
+ flags="$flags -L$libdir -R$libdir -l$APRUTIL_LIBNAME"
else
flags="$flags $LA_FILE"
fi