summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-11 19:40:43 -0400
committermidipix <writeonce@midipix.org>2016-04-11 19:40:43 -0400
commitb3c21a592bb4a4ea6e9baf7d0c33ca05f14de368 (patch)
tree77a275fb5b68ee2b0f29d7cc65029be3d7f20269
parentb107e2e6ab48cc46277b5ae27cc33c6cd116de60 (diff)
downloadslibtool-b3c21a592bb4a4ea6e9baf7d0c33ca05f14de368.tar.bz2
slibtool-b3c21a592bb4a4ea6e9baf7d0c33ca05f14de368.tar.xz
install mode: slbt_exec_install_entry(): fix .la to .so string substitution.
-rw-r--r--src/logic/slbt_exec_install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c
index e5a9d9e..22d1e22 100644
--- a/src/logic/slbt_exec_install.c
+++ b/src/logic/slbt_exec_install.c
@@ -159,7 +159,7 @@ static int slbt_exec_install_entry(
/* libfoo.la --> libfoo.so */
strcpy(slnkname,srcfile);
dot = strrchr(slnkname,'.');
- sprintf(dot,dctx->cctx->settings.dsosuffix);
+ strcpy(dot,dctx->cctx->settings.dsosuffix);
/* basename */
if ((base = strrchr(slnkname,'/')))