summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-01 20:19:04 +0000
committermidipix <writeonce@midipix.org>2024-03-01 20:19:04 +0000
commit0a09e0f65bf0d1f2553ce80c63e62abff74463b9 (patch)
tree30fbedcc0a1461d935e4800170512a1e6dbf07fb /src/logic
parentae486abdd1a2a10b10a84f44b4abe2379c1fb19f (diff)
downloadslibtool-0a09e0f65bf0d1f2553ce80c63e62abff74463b9.tar.bz2
slibtool-0a09e0f65bf0d1f2553ce80c63e62abff74463b9.tar.xz
slbt_exec_ctx_alloc(): also take the nm(1) arguments into account.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 4667691..fcde892 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -84,6 +84,7 @@ static struct slbt_exec_ctx_impl * slbt_exec_ctx_alloc(
/* tool-specific argv: to simplify matters, be additive */
argc += slbt_exec_ctx_tool_argc(ctx->host.ar_argv);
argc += slbt_exec_ctx_tool_argc(ctx->host.as_argv);
+ argc += slbt_exec_ctx_tool_argc(ctx->host.nm_argv);
argc += slbt_exec_ctx_tool_argc(ctx->host.ranlib_argv);
argc += slbt_exec_ctx_tool_argc(ctx->host.windres_argv);
argc += slbt_exec_ctx_tool_argc(ctx->host.dlltool_argv);