branch development updated: ltmain: Further error message improvement

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 f5a7acee ltmain: Further error message improvement
f5a7acee is described below

commit f5a7acee1db1b785ec2506e89026fb46ebd518a8
Author: Ileana Dumitrescu <[email protected]>
AuthorDate: Tue Jul 2 16:42:20 2024 +0300

    ltmain: Further error message improvement
    
    * build-aux/ltmain.in: Edit message of each instance where run-paths
      are not absolute to better reflect the issue occurring to the user.
---
 build-aux/ltmain.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 87bea8e1..63377541 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -4938,7 +4938,7 @@ func_mode_link ()
 	  case $arg in
 	  [\\/]* | [A-Za-z]:[\\/]*) ;;
 	  *)
-	    func_fatal_error "only absolute run-paths are allowed: \"$arg\""
+	    func_fatal_error "argument to -rpath is not absolute: $arg"
 	    ;;
 	  esac
 	  if test rpath = "$prev"; then
@@ -5289,7 +5289,7 @@ func_mode_link ()
 	  dir=$lt_sysroot$func_stripname_result
 	  ;;
 	*)
-	  func_fatal_error "only absolute run-paths are allowed: \"$dir\""
+	  func_fatal_error "argument ($arg) to '-R' is not an absolute path: $dir"
 	  ;;
 	esac
 	case "$xrpath " 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.