summaryrefslogtreecommitdiffhomepage
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-26 04:56:18 +0000
committermidipix <writeonce@midipix.org>2024-02-26 05:11:57 +0000
commitb5e10411a1c764c7b7f82b8b1ff093df7546d028 (patch)
tree4bf144d1119ce78f5a045bfe8ba6aa0ed77f6077 /src/output
parent489101c7b5e84298eba80777b0ec22cb39ad11a7 (diff)
downloadslibtool-b5e10411a1c764c7b7f82b8b1ff093df7546d028.tar.bz2
slibtool-b5e10411a1c764c7b7f82b8b1ff093df7546d028.tar.xz
driver: added the --nm switch.
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 92106a7..a95324d 100644
--- a/src/output/slbt_output_info.c
+++ b/src/output/slbt_output_info.c
@@ -65,6 +65,9 @@ int slbt_output_info(const struct slbt_driver_ctx * dctx)
if ((len = strlen(cctx->host.as)) > midwidth)
midwidth = len;
+ if ((len = strlen(cctx->host.nm)) > midwidth)
+ midwidth = len;
+
if ((len = strlen(cctx->host.ranlib)) > midwidth)
midwidth = len;
@@ -104,6 +107,9 @@ int slbt_output_info(const struct slbt_driver_ctx * dctx)
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,"nm",cctx->host.nm,cctx->cfgmeta.nm,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);