Unified · Split
| @@ -1457,6 +1457,7 @@ ST_FUNC void tcc_add_runtime(TCCState *s1) · 1456 unmodified lines | ||
| 1457 | 1457 | tcc_add_btstub(s1); |
| 1458 | 1458 | } |
| 1459 | 1459 | #endif |
| 1460 | + if ( strlen ( TCC_LIBTCC1 ) > 0 ) | |
| 1460 | 1461 | tcc_add_support(s1, TCC_LIBTCC1); |
| 1461 | 1462 | #ifndef TCC_TARGET_MACHO |
| 1462 | 1463 | /* add crt end if not memory output */ |
| @@ -1923,6 +1923,7 @@ static void pe_add_runtime(TCCState *s1, struct pe_info *pe) · 1922 unmodified lines | ||
| 1923 | 1923 | "msvcrt", "kernel32", "", "user32", "gdi32", NULL |
| 1924 | 1924 | }; |
| 1925 | 1925 | const char **pp, *p; |
| 1926 | + if ( strlen ( TCC_LIBTCC1 ) > 0 ) | |
| 1926 | 1927 | tcc_add_support(s1, TCC_LIBTCC1); |
| 1927 | 1928 | for (pp = libs; 0 != (p = *pp); ++pp) { |
| 1928 | 1929 | if (*p) |