mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
tccpe.c: fallback to libtcc1.a for other targets (ARM)
This commit is contained in:
parent
165d136614
commit
03b23994f1
6
tccpe.c
6
tccpe.c
@ -1770,10 +1770,12 @@ static void pe_add_runtime_ex(TCCState *s1, struct pe_info *pe)
|
||||
|
||||
if (0 == s1->nostdlib) {
|
||||
static const char *libs[] = {
|
||||
#ifdef TCC_TARGET_X86_64
|
||||
#if defined(TCC_TARGET_X86_64)
|
||||
"tcc1-win64",
|
||||
#else
|
||||
#elif defined(TCC_TARGET_I386)
|
||||
"tcc1-win32",
|
||||
#else
|
||||
"tcc1",
|
||||
#endif
|
||||
"msvcrt", "kernel32", "", "user32", "gdi32", NULL
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user