mirror of
https://github.com/frida/tinycc
synced 2024-11-28 10:33:07 +03:00
libtcc: Support -soname for the linker
-- By by ... Detlef
This commit is contained in:
parent
78e83d8761
commit
87574de8ed
3
libtcc.c
3
libtcc.c
@ -1456,6 +1456,9 @@ PUB_FUNC const char * tcc_set_linker(TCCState *s, const char *option, int multi)
|
||||
s->rpath = p;
|
||||
} else if (strstart(option, "--section-alignment,", &p)) {
|
||||
s->section_align = strtoul(p, &end, 16);
|
||||
} else if (strstart(option, "-soname,", &p)) {
|
||||
s->soname = p;
|
||||
multi = 0;
|
||||
#ifdef TCC_TARGET_PE
|
||||
} else if (strstart(option, "--subsystem,", &p)) {
|
||||
#if defined(TCC_TARGET_I386) || defined(TCC_TARGET_X86_64)
|
||||
|
Loading…
Reference in New Issue
Block a user