summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-03 15:04:53 -0400
committermidipix <writeonce@midipix.org>2016-04-03 15:04:53 -0400
commitf730acf96986d564da7512d4089af5afb45faeb9 (patch)
treeb0eabfbbae503d7bed4c3f05aed9fee60e6dfa38 /src
parenta34befedfd8a388b8a4ddf4e8973d3250f54b7d4 (diff)
downloadslibtool-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.c15
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;