Use libtcc.a for static link even with USE_LIBGCC
commit9e79b18bca641b12b6b12e5cec46202f6d6fad65
authorThomas Preud'homme <robotux@celest.fr>
Fri, 3 Jan 2014 10:17:52 +0000 (3 18:17 +0800)
committerThomas Preud'homme <robotux@celest.fr>
Fri, 3 Jan 2014 10:20:51 +0000 (3 18:20 +0800)
tree35687520eaca3006f31d94ceee8637d61b87918f
parente0e9a2a29562ac0f07c5d29070e1797fa48b144f
Use libtcc.a for static link even with USE_LIBGCC

When statically linking, runtime library should be static as well. tcc
could link with libgcc.a but it's in a gcc version specific directory.
Another solution, followed by this patch, is to use libtcc.a when
statically linking, even if USE_LIBGCC was configured.
configure
tccelf.c