summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logic/slbt_exec_install.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c
index d14d3b0..a595774 100644
--- a/src/logic/slbt_exec_install.c
+++ b/src/logic/slbt_exec_install.c
@@ -288,7 +288,16 @@ static int slbt_exec_install_entry(
? -1 : 0;
}
- /* libfoo.la --> libfoo.so */
+ /* libfoo.a */
+ dot = strrchr(srcfile,'.');
+ strcpy(dot,dctx->cctx->settings.arsuffix);
+
+ if (slbt_copy_file(dctx,ectx,
+ srcfile,
+ dest ? (char *)dest->arg : (char *)last->arg))
+ return -1;
+
+ /* libfoo.a --> libfoo.so */
strcpy(slnkname,srcfile);
dot = strrchr(slnkname,'.');
strcpy(dot,dctx->cctx->settings.dsosuffix);