summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-15 03:36:39 +0000
committermidipix <writeonce@midipix.org>2024-02-15 03:36:39 +0000
commit9f995b688efd7bd4d91539c4d82d7bd650d6a213 (patch)
tree03002b3e9b82dfc83451f86ddae1c9a41b715f9d
parentfb5e7fb8cff2f935c814642502aba5b0d4e8c040 (diff)
downloadslibtool-9f995b688efd7bd4d91539c4d82d7bd650d6a213.tar.bz2
slibtool-9f995b688efd7bd4d91539c4d82d7bd650d6a213.tar.xz
link mode: do not create .lai wrapper symlinks for convenience libraries.
-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 65cdb1c..3b6bc6f 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -470,7 +470,7 @@ int slbt_exec_link(
SLBT_NESTED_ERROR(dctx);
/* .lai wrapper symlink */
- if (ret == 0)
+ if ((ret == 0) && dctx->cctx->rpath)
if ((ret = slbt_create_symlink(
dctx,ectx,
output,