summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-20 07:54:09 -0400
committermidipix <writeonce@midipix.org>2016-03-20 07:54:09 -0400
commitdf1a81c265571b153d26b68c28f5a7791c91547c (patch)
treeab9f231deb9f456adc2717e3bd2c8f3063db1952
parentfab9866a37788f11e2482ea0d6e7ef165d827d49 (diff)
downloadslibtool-df1a81c265571b153d26b68c28f5a7791c91547c.tar.bz2
slibtool-df1a81c265571b153d26b68c28f5a7791c91547c.tar.xz
slbt_get_exec_ctx(): account for ".libs/" added to source objects in link mode.
-rw-r--r--src/logic/slbt_exec_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 0301ea9..5dd9d70 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -196,6 +196,7 @@ int slbt_get_exec_ctx(
} else {
ictx->ctx.argv[i++] = ch;
ch += sprintf(ch,"%s",*parg);
+ ch += strlen(".libs/");
}
}