summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-04 05:49:35 +0000
committermidipix <writeonce@midipix.org>2024-03-04 05:49:35 +0000
commita06474266cbd66d534cd2b3a7736a2961cd62ed3 (patch)
tree3069f4c9d73457d541658a1b361bc7170f2aea1b /src/logic
parent04fb2ee8f202dccf309f3c75d7769c6f93bd8ec2 (diff)
downloadslibtool-a06474266cbd66d534cd2b3a7736a2961cd62ed3.tar.bz2
slibtool-a06474266cbd66d534cd2b3a7736a2961cd62ed3.tar.xz
link mode: refined .disabled placeholder logic (/dev/null <--> older linkers).
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_link.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 1e1e5b2..be9dc20 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -305,13 +305,6 @@ int slbt_exec_link(const struct slbt_driver_ctx * dctx)
dctx,ectx,
"/dev/null",
ectx->dsofilename,
- SLBT_SYMLINK_LITERAL))
- return SLBT_NESTED_ERROR(dctx);
-
- if (slbt_create_symlink(
- dctx,ectx,
- "/dev/null",
- ectx->dsofilename,
SLBT_SYMLINK_DEVNULL))
return SLBT_NESTED_ERROR(dctx);
}
@@ -322,13 +315,6 @@ int slbt_exec_link(const struct slbt_driver_ctx * dctx)
dctx,ectx,
"/dev/null",
ectx->arfilename,
- SLBT_SYMLINK_LITERAL))
- return SLBT_NESTED_ERROR(dctx);
-
- if (slbt_create_symlink(
- dctx,ectx,
- "/dev/null",
- ectx->arfilename,
SLBT_SYMLINK_DEVNULL))
return SLBT_NESTED_ERROR(dctx);
}