diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-05-23 23:56:17 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-05-23 23:56:17 +0000 |
commit | c67f327f51bcf176a23ba6539683f0f80b02a483 (patch) | |
tree | 9cf9b7b935f2f5e874ee676681ea1f7677800585 /libtool-tcc-rpath.patch | |
parent | 09b0e1674963b08fecf2f1e8ad098f628d34566e (diff) | |
download | mpfr-c67f327f51bcf176a23ba6539683f0f80b02a483.tar.gz |
Added libtool-tcc-rpath.patch from
http://lists.gnu.org/archive/html/libtool-patches/2015-05/msg00000.html
so that tcc can be used with libtool 2.4.3 to 2.4.6.
In doc/README.dev, documented how to use this patch (before a release).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9459 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'libtool-tcc-rpath.patch')
-rw-r--r-- | libtool-tcc-rpath.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libtool-tcc-rpath.patch b/libtool-tcc-rpath.patch new file mode 100644 index 000000000..819d85a13 --- /dev/null +++ b/libtool-tcc-rpath.patch @@ -0,0 +1,20 @@ +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 + ;; |