Control: tags -1 patch

Patch attached. This corresponds to my patch:

  https://lists.gnu.org/archive/html/libtool-patches/2015-05/msg00000.html

I've tested it against the package libtool/2.4.6-0.1, and with it,
"make check" for a clean working copy of the MPFR 3.1 branch built
with tcc no longer fails.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index a3bc337..cb4fea3 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -5232,6 +5232,7 @@ _LT_EOF
 
        case $cc_basename in
        tcc*)
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
          _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
          ;;
        xlf* | bgf* | bgxlf* | mpixlf*)
@@ -5790,6 +5791,7 @@ _LT_EOF
        # Fabrice Bellard et al's Tiny C Compiler
        _LT_TAGVAR(ld_shlibs, $1)=yes
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs 
$deplibs $compiler_flags'
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
        ;;
       esac
       ;;

Reply via email to