summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_link.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-23 08:59:40 -0400
committermidipix <writeonce@midipix.org>2016-04-23 09:29:20 -0400
commit26ea30b3aa10c572acb726eff9b833e443eb46e2 (patch)
tree7f5f669afce7fd3fae22b6bdae544b5c84f438f6 /src/logic/slbt_exec_link.c
parent4469ed8a0cdaf0e6f238415dc624e29f681baa5d (diff)
downloadslibtool-26ea30b3aa10c572acb726eff9b833e443eb46e2.tar.bz2
slibtool-26ea30b3aa10c572acb726eff9b833e443eb46e2.tar.xz
link mode: added .lai support via a symlink to the .la library wrapper.
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r--src/logic/slbt_exec_link.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 5a82b8c..793afc2 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -1126,6 +1126,14 @@ int slbt_exec_link(
ectx->lafilename,
true));
+ /* .lai wrapper symlink */
+ if (ret == 0)
+ ret = (slbt_create_symlink(
+ dctx,ectx,
+ output,
+ ectx->laifilename,
+ true));
+
/* all done */
fclose(fout);
slbt_free_exec_ctx(actx);