Unified · Split
| @@ -989,8 +989,6 @@ LIBTCCAPI TCCState *tcc_new(void) · 988 unmodified lines | ||
| 989 | 989 | /* glibc defines */ |
| 990 | 990 | tcc_define_symbol(s, "__REDIRECT(name, proto, alias)", "name proto __asm__ (#alias)"); |
| 991 | 991 | tcc_define_symbol(s, "__REDIRECT_NTH(name, proto, alias)", "name proto __asm__ (#alias) __THROW"); |
| 992 | − /* default library paths */ | |
| 993 | − tcc_add_library_path(s, CONFIG_TCC_LIBPATHS); | |
| 994 | 992 | /* paths for crt objects */ |
| 995 | 993 | tcc_split_path(s, (void ***)&s->crt_paths, &s->nb_crt_paths, CONFIG_TCC_CRTPREFIX); |
| 996 | 994 | #endif |
| @@ -1343,8 +1341,8 @@ LIBTCCAPI int tcc_set_output_type(TCCState *s, int output_type) · 346 unmodified lines | ||
| 1343 | 1341 | put_stabs("", 0, 0, 0, 0); |
| 1344 | 1342 | } |
| 1345 | 1343 | |
| 1346 | −#ifdef TCC_TARGET_PE | |
| 1347 | 1344 | tcc_add_library_path(s, CONFIG_TCC_LIBPATHS); |
| 1345 | +#ifdef TCC_TARGET_PE | |
| 1348 | 1346 | # ifdef _WIN32 |
| 1349 | 1347 | tcc_add_systemdir(s); |
| 1350 | 1348 | # endif |