Skip to content

Commit

Permalink
Emit the run-time link path option in apr-config after installation i…
Browse files Browse the repository at this point in the history
…f the user

is linking with libtool.


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@111346 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Justin Erenkrantz committed Dec 9, 2004
1 parent 60e6b71 commit cd5b29a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Changes for APR 1.1.0

*) Emit the run-time link path option in apr-config after installation
if the user is linking with libtool. [Justin Erenkrantz]

*) Add apr_file_writev_full to ensure an entire iovec is writen to a file.
[Paul Querna]

Expand All @@ -10,7 +13,7 @@ Changes for APR 1.1.0
*) Remove the runtime test for Sendfile versions on FreeBSD. PR 25718.
[Mike Silbersack <silby silby.com>, Paul Querna]

*( rename the fopen defines (APR_READ, APR_WRITE, etc.) to have
*) rename the fopen defines (APR_READ, APR_WRITE, etc.) to have
prefix APR_FOPEN_ (keeping the old defines) [Stas]

*) [NOT COMMITTED?] Add a new PRNG. Note that the implementation of SHA-256
Expand Down
4 changes: 3 additions & 1 deletion apr-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ while test $# -gt 0; do
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${APR_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${APR_LIBNAME}"
else
flags="$flags $LA_FILE"
fi
Expand Down

0 comments on commit cd5b29a

Please sign in to comment.