-- By by ... Detlef
Unified · Split
| @@ -1456,6 +1456,9 @@ PUB_FUNC const char * tcc_set_linker(TCCState *s, const char *option, int multi) · 1455 unmodified lines | ||
| 1456 | 1456 | s->rpath = p; |
| 1457 | 1457 | } else if (strstart(option, "--section-alignment,", &p)) { |
| 1458 | 1458 | s->section_align = strtoul(p, &end, 16); |
| 1459 | + } else if (strstart(option, "-soname,", &p)) { | |
| 1460 | + s->soname = p; | |
| 1461 | + multi = 0; | |
| 1459 | 1462 | #ifdef TCC_TARGET_PE |
| 1460 | 1463 | } else if (strstart(option, "--subsystem,", &p)) { |
| 1461 | 1464 | #if defined(TCC_TARGET_I386) || defined(TCC_TARGET_X86_64) |