diff options
| author | Henry Kroll III <henry@comptune.com> | 2010-11-30 18:52:43 -0800 |
|---|---|---|
| committer | Henry Kroll III <henry@comptune.com> | 2010-11-30 18:52:43 -0800 |
| commit | 03b23994f190679cd0ac7b995beda5f9af367ecd (patch) | |
| tree | c3d1808c3030703076919d0b3b2a1674804302a1 | |
| parent | 165d1366146f8431fef939edb63ba10b92200435 (diff) | |
| download | tinycc-03b23994f190679cd0ac7b995beda5f9af367ecd.tar.gz tinycc-03b23994f190679cd0ac7b995beda5f9af367ecd.tar.bz2 | |
tccpe.c: fallback to libtcc1.a for other targets (ARM)
| -rw-r--r-- | tccpe.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 }; |
