History

set the user-defined library search paths first

Vittorio Giovara committed 13 years ago

Commit 45b35a31 parent 673befd1 file · +1 −3Browse files

Unified · Split

libtcc.c+1−3
@@ -989,8 +989,6 @@ LIBTCCAPI TCCState *tcc_new(void) · 988 unmodified lines
989989 /* glibc defines */
990990 tcc_define_symbol(s, "__REDIRECT(name, proto, alias)", "name proto __asm__ (#alias)");
991991 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);
994992 /* paths for crt objects */
995993 tcc_split_path(s, (void ***)&s->crt_paths, &s->nb_crt_paths, CONFIG_TCC_CRTPREFIX);
996994 #endif
@@ -1343,8 +1341,8 @@ LIBTCCAPI int tcc_set_output_type(TCCState *s, int output_type) · 346 unmodified lines
13431341 put_stabs("", 0, 0, 0, 0);
13441342 }
13451343
1346−#ifdef TCC_TARGET_PE
13471344 tcc_add_library_path(s, CONFIG_TCC_LIBPATHS);
1345+#ifdef TCC_TARGET_PE
13481346 # ifdef _WIN32
13491347 tcc_add_systemdir(s);
13501348 # endif

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