mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-08 08:40:08 +08:00
Don't search libgcc_s.so.1 on /lib64
It seems libgcc_s.so.1 is systematically on /lib/ (whether /lib/$triplet for multiarch systems or just /lib for other systems).
This commit is contained in:
parent
762a43877b
commit
b9f089fc4a
6
tcc.h
6
tcc.h
@ -222,7 +222,11 @@
|
||||
#endif
|
||||
|
||||
/* library to use with CONFIG_USE_LIBGCC instead of libtcc1.a */
|
||||
#define TCC_LIBGCC CONFIG_SYSROOT "/" CONFIG_LDDIR "/libgcc_s.so.1"
|
||||
#ifndef CONFIG_MULTIARCHDIR
|
||||
# define TCC_LIBGCC CONFIG_SYSROOT "/lib/libgcc_s.so.1"
|
||||
#else
|
||||
# define TCC_LIBGCC CONFIG_SYSROOT "/" CONFIG_LDDIR "/libgcc_s.so.1"
|
||||
#endif
|
||||
|
||||
/* -------------------------------------------- */
|
||||
/* include the target specific definitions */
|
||||
|
Loading…
Reference in New Issue
Block a user