mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-26 03:50:07 +08:00
check strlen(TCC_LIBTCC1) before tcc_add_support(s1, TCC_LIBTCC1)
This commit is contained in:
parent
aed5cd0ce9
commit
bea7dcde86
1
tccelf.c
1
tccelf.c
@ -1457,6 +1457,7 @@ ST_FUNC void tcc_add_runtime(TCCState *s1)
|
||||
tcc_add_btstub(s1);
|
||||
}
|
||||
#endif
|
||||
if ( strlen ( TCC_LIBTCC1 ) > 0 )
|
||||
tcc_add_support(s1, TCC_LIBTCC1);
|
||||
#ifndef TCC_TARGET_MACHO
|
||||
/* add crt end if not memory output */
|
||||
|
Loading…
Reference in New Issue
Block a user