]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
ltmain: Further error message improvement
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Tue, 2 Jul 2024 13:42:20 +0000 (16:42 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Tue, 2 Jul 2024 13:42:20 +0000 (16:42 +0300)
* 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

index 87bea8e1c863588696202a6145daae0fb0881b42..6337754157494b53db2df107de7cb87fccd99da1 100644 (file)
@@ -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