From f730acf96986d564da7512d4089af5afb45faeb9 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 3 Apr 2016 15:04:53 -0400 Subject: link mode: add annotation for non-pic, wrapper-based archive creation. --- src/logic/slbt_exec_link.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 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; -- cgit v1.2.3