summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-08 13:31:53 -0500
committermidipix <writeonce@midipix.org>2017-01-08 13:33:17 -0500
commit6527a97a07cf67c1d58c7a6a58ff09fc6ada7bc3 (patch)
tree5ec4d175b1a3f1aa9ab0f349fc8bf28f4770f469
parent7869b18c66b114c9f12f0468bfac57416b0cb8bd (diff)
downloadslibtool-6527a97a07cf67c1d58c7a6a58ff09fc6ada7bc3.tar.bz2
slibtool-6527a97a07cf67c1d58c7a6a58ff09fc6ada7bc3.tar.xz
link mode: fix fdepfile construction when determining dynlib dependency.
-rw-r--r--src/logic/slbt_exec_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 8691760..efbcb64 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -591,7 +591,7 @@ static int slbt_exec_link_create_dep_file(
return SLBT_BUFFER_ERROR(dctx);
mark = strrchr(mark,'.');
- strcpy(mark,dctx->cctx->settings.dsoprefix);
+ strcpy(mark,dctx->cctx->settings.dsosuffix);
fdyndep = !stat(depfile,&st);