summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_link.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-26 18:29:59 -0400
committermidipix <writeonce@midipix.org>2016-09-26 18:29:59 -0400
commitd22d016db5fbc087602327ca99cb45b0a1c08c43 (patch)
treefff790df5878de5b5a7e5fc78620d999f40e28ba /src/logic/slbt_exec_link.c
parentaa2f591bad2cee5c7565212780c8683bd96ee292 (diff)
downloadslibtool-d22d016db5fbc087602327ca99cb45b0a1c08c43.tar.bz2
slibtool-d22d016db5fbc087602327ca99cb45b0a1c08c43.tar.xz
link mode: -L.libs for current-directory .la input argument: the missing bits.
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r--src/logic/slbt_exec_link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 3c72f6d..a9d0603 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -423,6 +423,7 @@ static int slbt_exec_link_adjust_argument_vector(
if (!(strncmp(lib,".libs/",6))) {
*aarg++ = "-L.libs";
+ lib[1] = 0;
} else if ((base = strrchr(lib,'/'))) {
if (base - lib == 5) {
if (!(strncmp(&base[-5],".libs/",6)))