History

libtcc: Support -soname for the linker

-- By by ... Detlef

Detlef Riekenberg committed 16 years ago

Commit 87574de1 parent 78e83d81 file · +3 −0Browse files

Unified · Split

libtcc.c+3−0
@@ -1456,6 +1456,9 @@ PUB_FUNC const char * tcc_set_linker(TCCState *s, const char *option, int multi) · 1455 unmodified lines
14561456 s->rpath = p;
14571457 } else if (strstart(option, "--section-alignment,", &p)) {
14581458 s->section_align = strtoul(p, &end, 16);
1459+ } else if (strstart(option, "-soname,", &p)) {
1460+ s->soname = p;
1461+ multi = 0;
14591462 #ifdef TCC_TARGET_PE
14601463 } else if (strstart(option, "--subsystem,", &p)) {
14611464 #if defined(TCC_TARGET_I386) || defined(TCC_TARGET_X86_64)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t