branch development updated: ltmain.in: Additional sysroot to prepend to libdir

Ileana Dumitrescu <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new b8cad780 ltmain.in: Additional sysroot to prepend to libdir
b8cad780 is described below

commit b8cad780da77b7cf3aae1b660be3298b7fc48d1e
Author: Ileana Dumitrescu <[email protected]>
AuthorDate: Fri May 31 17:56:09 2024 +0300

    ltmain.in: Additional sysroot to prepend to libdir
    
    Addition to commit 3221f9f0fb98d5740ab5d0e8db6a731302520644.
---
 build-aux/ltmain.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 44785403..abb7b0c7 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -6493,7 +6493,7 @@ func_mode_link ()
 	       test no = "$hardcode_direct_absolute"; then
 	      add=$libdir/$linklib
 	    elif test yes = "$hardcode_minus_L"; then
-	      add_dir=-L$libdir
+	      add_dir=-L$lt_sysroot$libdir
 	      add=-l$name
 	    elif test yes = "$hardcode_shlibpath_var"; then
 	      case :$finalize_shlibpath: in
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.