]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: -rdynamic support for tcc.
authorReuben Thomas <rrt@sc3d.org>
Wed, 29 Oct 2014 18:59:07 +0000 (18:59 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 29 Oct 2014 18:59:07 +0000 (18:59 +0000)
* m4/libtool.m4 (_LT_LINKER_SHLIBS) <linux*>: Set
export_dynamic_flag_spec appropriately when using tcc.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
m4/libtool.m4

index b3c0617901fce852d3a8e5399bcb460855477844..1c6166b4e418a4887f0df669e6b1489f10b73d86 100644 (file)
@@ -5015,6 +5015,9 @@ _LT_EOF
         fi
 
        case $cc_basename in
+       tcc*)
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
+         ;;
        xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'