mirror of
https://github.com/frida/tinycc
synced 2024-12-25 06:26:49 +03:00
pe: fix tcc not linking to user32 and gdi32
This commit is contained in:
parent
034dce4f04
commit
943574aba5
2
tccpe.c
2
tccpe.c
@ -1762,7 +1762,7 @@ static void pe_add_runtime_ex(TCCState *s1, struct pe_info *pe)
|
||||
|
||||
if (0 == s1->nostdlib) {
|
||||
static const char *libs[] = {
|
||||
"tcc1", "msvcrt", "kernel32", "", "user32", "gdi32", NULL
|
||||
"tcc1", "msvcrt", "kernel32", "user32", "gdi32", NULL
|
||||
};
|
||||
const char **pp, *p;
|
||||
for (pp = libs; 0 != (p = *pp); ++pp) {
|
||||
|
Loading…
Reference in New Issue
Block a user