split cross libtcc1.a to separate directories
This commit is contained in:
9
tccpe.c
9
tccpe.c
@ -1770,14 +1770,7 @@ static void pe_add_runtime_ex(TCCState *s1, struct pe_info *pe)
|
||||
|
||||
if (0 == s1->nostdlib) {
|
||||
static const char *libs[] = {
|
||||
#if defined(TCC_TARGET_X86_64)
|
||||
"tcc1-win64",
|
||||
#elif defined(TCC_TARGET_I386)
|
||||
"tcc1-win32",
|
||||
#else
|
||||
"tcc1",
|
||||
#endif
|
||||
"msvcrt", "kernel32", "", "user32", "gdi32", NULL
|
||||
"tcc1", "msvcrt", "kernel32", "", "user32", "gdi32", NULL
|
||||
};
|
||||
const char **pp, *p;
|
||||
for (pp = libs; 0 != (p = *pp); ++pp) {
|
||||
|
||||
Reference in New Issue
Block a user