summaryrefslogtreecommitdiffhomepage
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
parent995aad77a51ffa35223bac858e8afdf1e46e69d3 (diff)
downloadslibtool-a470d5887690957835de60c3cdd6b94841201e70.tar.bz2
slibtool-a470d5887690957835de60c3cdd6b94841201e70.tar.xz
slbt_exec_ar(): reset the VERSION bit upon --help.
-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;