From 03b23994f190679cd0ac7b995beda5f9af367ecd Mon Sep 17 00:00:00 2001 From: Henry Kroll III Date: Tue, 30 Nov 2010 18:52:43 -0800 Subject: [PATCH] tccpe.c: fallback to libtcc1.a for other targets (ARM) --- tccpe.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tccpe.c b/tccpe.c index 7a960342..40e67b98 100644 --- a/tccpe.c +++ b/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 };