summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_ar.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-01-22 04:21:42 +0000
committermidipix <writeonce@midipix.org>2024-01-22 04:21:42 +0000
commita470d5887690957835de60c3cdd6b94841201e70 (patch)
treea311f516ae920a31b4819a020c8b0908c0690cbc /src/logic/slbt_exec_ar.c
parent995aad77a51ffa35223bac858e8afdf1e46e69d3 (diff)
downloadslibtool-a470d5887690957835de60c3cdd6b94841201e70.tar.bz2
slibtool-a470d5887690957835de60c3cdd6b94841201e70.tar.xz
slbt_exec_ar(): reset the VERSION bit upon --help.
Diffstat (limited to 'src/logic/slbt_exec_ar.c')
-rw-r--r--src/logic/slbt_exec_ar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ar.c b/src/logic/slbt_exec_ar.c
index d4f01e8..57e0112 100644
--- a/src/logic/slbt_exec_ar.c
+++ b/src/logic/slbt_exec_ar.c
@@ -141,6 +141,9 @@ int slbt_exec_ar(
dctx->cctx->drvflags
& SLBT_DRIVER_ANNOTATE_NEVER);
+ ictx->cctx.drvflags |= SLBT_DRIVER_VERSION;
+ ictx->cctx.drvflags ^= SLBT_DRIVER_VERSION;
+
argv_free(meta);
return SLBT_OK;