History

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).

Thomas Preud'homme committed 13 years ago

Commit b9f089f1 parent 762a4381 file · +5 −1Browse files

Unified · Split

tcc.h+5−1
@@ -222,7 +222,11 @@ · 221 unmodified lines
222#endif222#endif
223 223
224/* library to use with CONFIG_USE_LIBGCC instead of libtcc1.a */224/* library to use with CONFIG_USE_LIBGCC instead of libtcc1.a */
225#define TCC_LIBGCC CONFIG_SYSROOT "/" CONFIG_LDDIR "/libgcc_s.so.1"225#ifndef CONFIG_MULTIARCHDIR
226# define TCC_LIBGCC CONFIG_SYSROOT "/lib/libgcc_s.so.1"
227#else
228# define TCC_LIBGCC CONFIG_SYSROOT "/" CONFIG_LDDIR "/libgcc_s.so.1"
229#endif
226 230
227/* -------------------------------------------- */231/* -------------------------------------------- */
228/* include the target specific definitions */232/* include the target specific definitions */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t