summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-17 21:33:50 -0400
committermidipix <writeonce@midipix.org>2018-08-17 21:33:50 -0400
commitd4bae56688da60febbf3fb7617b6d6eb179d1411 (patch)
tree0b5feb751f2a07550f37b0b577618f5e41449883
parentbab3d0330c7953d8b878a99e956b6955d893f48e (diff)
downloadslibtool-d4bae56688da60febbf3fb7617b6d6eb179d1411.tar.bz2
slibtool-d4bae56688da60febbf3fb7617b6d6eb179d1411.tar.xz
driver: slbt_get_driver_ctx(): support stack-based argv.
-rw-r--r--src/driver/slbt_driver_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 9d7deb6..401bb43 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -996,7 +996,7 @@ int slbt_get_driver_ctx(
if (!(meta = argv_get(
sargv.targv,optv,
- slbt_argv_flags(flags),
+ slbt_argv_flags(flags) | ARGV_CLONE_VECTOR,
fdctx->fderr)))
return -1;