summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic')
-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)))