summaryrefslogtreecommitdiffhomepage
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-14 01:35:44 +0000
committermidipix <writeonce@midipix.org>2024-02-14 01:57:26 +0000
commit6bc1706e77c607947ac30f96ec0bce3e056b3026 (patch)
treefed9c75b2c866c8300213733699c76a282649717 /src/output
parent68760b855037f8f5d03c99db3e5b646674d9cfe6 (diff)
downloadslibtool-6bc1706e77c607947ac30f96ec0bce3e056b3026.tar.bz2
slibtool-6bc1706e77c607947ac30f96ec0bce3e056b3026.tar.xz
driver: added the --as switch (assembler argument to pass through to dlltool).
Diffstat (limited to 'src/output')
-rw-r--r--src/output/slbt_output_info.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output/slbt_output_info.c b/src/output/slbt_output_info.c
index 7498cb8..92106a7 100644
--- a/src/output/slbt_output_info.c
+++ b/src/output/slbt_output_info.c
@@ -62,6 +62,9 @@ int slbt_output_info(const struct slbt_driver_ctx * dctx)
if ((len = strlen(cctx->host.ar)) > midwidth)
midwidth = len;
+ if ((len = strlen(cctx->host.as)) > midwidth)
+ midwidth = len;
+
if ((len = strlen(cctx->host.ranlib)) > midwidth)
midwidth = len;
@@ -98,6 +101,9 @@ int slbt_output_info(const struct slbt_driver_ctx * dctx)
if (slbt_output_info_line(fdout,"ar",cctx->host.ar,cctx->cfgmeta.ar,midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
+ if (slbt_output_info_line(fdout,"as",cctx->host.as,cctx->cfgmeta.as,midwidth))
+ return SLBT_SYSTEM_ERROR(dctx,0);
+
if (slbt_output_info_line(fdout,"ranlib",cctx->host.ranlib,cctx->cfgmeta.ranlib,midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);