summaryrefslogtreecommitdiff
path: root/src/logic/linkcmd/slbt_linkcmd_argv.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-03 20:01:43 +0000
committermidipix <writeonce@midipix.org>2024-03-03 22:10:17 +0000
commita3e2d3ae686409f59f7470ae1898f96e1c9df453 (patch)
tree440965e6e25d4ced2a4b8a65aa234a5f01fa31e4 /src/logic/linkcmd/slbt_linkcmd_argv.c
parent99fb66b6e91e251dbb2ceb7d186d501110fd999f (diff)
downloadslibtool-a3e2d3ae686409f59f7470ae1898f96e1c9df453.tar.bz2
slibtool-a3e2d3ae686409f59f7470ae1898f96e1c9df453.tar.xz
slbt_exec_link_create_executable(): fix .la based input argument selection.
Diffstat (limited to 'src/logic/linkcmd/slbt_linkcmd_argv.c')
-rw-r--r--src/logic/linkcmd/slbt_linkcmd_argv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_argv.c b/src/logic/linkcmd/slbt_linkcmd_argv.c
index 5e2d606..de145e0 100644
--- a/src/logic/linkcmd/slbt_linkcmd_argv.c
+++ b/src/logic/linkcmd/slbt_linkcmd_argv.c
@@ -257,8 +257,6 @@ slbt_hidden int slbt_adjust_linker_argument(
if (slbt_symlink_is_a_placeholder(fdcwd,arg))
sprintf(dot,"%s",arsuffix);
- else if (dctx->cctx->drvflags & SLBT_DRIVER_STATIC)
- sprintf(dot,"%s",arsuffix);
else if ((fdlib = openat(fdcwd,arg,O_RDONLY)) >= 0)
close(fdlib);
else