diff options
author | midipix <writeonce@midipix.org> | 2016-04-03 15:04:53 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-03 15:04:53 -0400 |
commit | f730acf96986d564da7512d4089af5afb45faeb9 (patch) | |
tree | b0eabfbbae503d7bed4c3f05aed9fee60e6dfa38 /src | |
parent | a34befedfd8a388b8a4ddf4e8973d3250f54b7d4 (diff) | |
download | slibtool-f730acf96986d564da7512d4089af5afb45faeb9.tar.bz2 slibtool-f730acf96986d564da7512d4089af5afb45faeb9.tar.xz |
link mode: add annotation for non-pic, wrapper-based archive creation.
Diffstat (limited to 'src')
-rw-r--r-- | src/logic/slbt_exec_link.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index bc394a6..fe7b207 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -39,6 +39,21 @@ /* */ /*******************************************************************/ +/*******************************************************************/ +/* */ +/* -o <ltlib> switches input result */ +/* ---------- --------------------- ----- ------ */ +/* libfoo.la -static bar.lo libfoo.la */ +/* .libs/libfoo.a */ +/* .libs/libfoo.la (lnk) */ +/* */ +/* ar cru .libs/libfoo.a bar.o */ +/* ranlib .libs/libfoo.a */ +/* (generate libfoo.la) */ +/* ln -s ../libfoo.la .libs/libfoo.la */ +/* */ +/*******************************************************************/ + static bool slbt_adjust_input_argument(char * arg, bool fpic) { char * slash; |