summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-09 17:21:50 +0000
committermidipix <writeonce@midipix.org>2024-03-09 17:21:50 +0000
commit97cd9fb083e0e73eac1c9df614a6d1c62db26656 (patch)
treeea24d28f61c5e42fb80adf73da4faf61cf901e71 /src
parent62a0071ea49e24fd54e144748fabc383af70cd3c (diff)
downloadslibtool-97cd9fb083e0e73eac1c9df614a6d1c62db26656.tar.bz2
slibtool-97cd9fb083e0e73eac1c9df614a6d1c62db26656.tar.xz
slbt_exec_link_create_dep_file(): properly handle 'this dir' build targets.
Diffstat (limited to 'src')
-rw-r--r--src/logic/linkcmd/slbt_linkcmd_deps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_deps.c b/src/logic/linkcmd/slbt_linkcmd_deps.c
index b743472..66b831c 100644
--- a/src/logic/linkcmd/slbt_linkcmd_deps.c
+++ b/src/logic/linkcmd/slbt_linkcmd_deps.c
@@ -423,6 +423,8 @@ slbt_hidden int slbt_exec_link_create_dep_file(
base++;
}
}
+
+ *mark = '\0';
}
/* deps */