diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2013-02-14 18:02:56 +0100 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2013-02-14 18:05:55 +0100 |
| commit | b9f089fc4a3c852858bbc8e60c5ac19b7736d7a9 (patch) | |
| tree | 0899c05a1fafdf0823fe6949c8bb80baf5bed34b /tcc.h | |
| parent | 762a43877b6edc4a586b2b41f7474eee0adcdcec (diff) | |
| download | tinycc-b9f089fc4a3c852858bbc8e60c5ac19b7736d7a9.tar.gz tinycc-b9f089fc4a3c852858bbc8e60c5ac19b7736d7a9.tar.bz2 | |
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).
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 */ |
