[SCM] GNU Libtool branch, master, updated. v2.4-41-g9167aec

"Ralf Wildenhues" <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  9167aecabd12c5afe7a65d45dc73f8c92ab42f05 (commit)
      from  a55208d56bf723f68b245c6ea03ce3f36a2e23ba (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9167aecabd12c5afe7a65d45dc73f8c92ab42f05
Author: John David Anglin <[email protected]>
Date:   Sun Jan 9 19:51:28 2011 +0100

    Fix relink mode to use absolute path if hardcode_minus_L.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Use absolute path
    when hardcoding with -L.
    
    Signed-off-by: Ralf Wildenhues <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    6 ++++++
 libltdl/config/ltmain.m4sh |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 186ccc3..1ad3741 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-09  John David Anglin  <[email protected]>  (tiny change)
+
+	Fix relink mode to use absolute path if hardcode_minus_L.
+	* libltdl/config/ltmain.m4sh (func_mode_link): Use absolute path
+	when hardcoding with -L.
+
 2011-01-09  Ralf Wildenhues  <[email protected]>
 
 	Fix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index d9e1cd2..7baa6aa 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -6050,7 +6050,7 @@ func_mode_link ()
 	         test "$hardcode_direct_absolute" = no; then
 		add="$dir/$linklib"
 	      elif test "$hardcode_minus_L" = yes; then
-		add_dir="-L$dir"
+		add_dir="-L$absdir"
 		# Try looking first in the location we're being installed to.
 		if test -n "$inst_prefix_dir"; then
 		  case $libdir in


hooks/post-receive
-- 
GNU Libtool
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.