libtool: -rdynamic support for tcc.

* 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>
This commit is contained in:
Reuben Thomas 2014-10-29 18:59:07 +00:00 committed by Gary V. Vaughan
parent cdf127ca58
commit e1584d0d49

3
m4/libtool.m4 vendored
View 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'