tccpe.c: Makefile: --enable-cross win64 cross library build

This commit is contained in:
Henry Kroll III
2010-11-30 15:15:55 -08:00
parent 9e406656c7
commit c1a437add7
2 changed files with 25 additions and 8 deletions

View File

@ -1770,7 +1770,12 @@ 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
#ifdef TCC_TARGET_X86_64
"tcc1-win64",
#else
"tcc1-win32",
#endif
"msvcrt", "kernel32", "", "user32", "gdi32", NULL
};
const char **pp, *p;
for (pp = libs; 0 != (p = *pp); ++pp) {