From b3c21a592bb4a4ea6e9baf7d0c33ca05f14de368 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 11 Apr 2016 19:40:43 -0400 Subject: install mode: slbt_exec_install_entry(): fix .la to .so string substitution. --- src/logic/slbt_exec_install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/logic') 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,'/'))) -- cgit v1.2.3