summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-03 02:36:41 -0500
committermidipix <writeonce@midipix.org>2016-12-03 11:59:05 -0500
commitfce0180d06c1338ff3a21f55c51a9e655090c9f3 (patch)
tree537fbe2bc917f1a8fc28c7747ab425716619da23 /src
parent854aca3e2184834ece5c8328c3ad4080f651175c (diff)
downloadslibtool-fce0180d06c1338ff3a21f55c51a9e655090c9f3.tar.bz2
slibtool-fce0180d06c1338ff3a21f55c51a9e655090c9f3.tar.xz
slbt_exec_link_create_dep_file(): fix construction of dynamic dep. file name.
Diffstat (limited to 'src')
-rw-r--r--src/logic/slbt_exec_link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index b7c7868..553780f 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -627,8 +627,8 @@ static int slbt_exec_link_create_dep_file(
if (!farchive) {
if ((size_t)snprintf(
mark,size,
- ".%s.slibtool.deps",
- dctx->cctx->settings.dsoprefix)
+ "%s.slibtool.deps",
+ dctx->cctx->settings.dsosuffix)
>= size)
return SLBT_BUFFER_ERROR(dctx);