summaryrefslogtreecommitdiff
path: root/command-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'command-list.c')
-rw-r--r--command-list.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/command-list.c b/command-list.c
index 21e4cb6..e02b018 100644
--- a/command-list.c
+++ b/command-list.c
@@ -239,6 +239,12 @@ CommandList *build_command_list(Options *op, Package *p)
" ", p->entries[i].dst, NULL);
add_command(c, RUN_CMD, tmp);
nvfree(tmp);
+ if (op->utils[EXECSTACK] != NULL) {
+ tmp = nvstrcat(op->utils[EXECSTACK], " -c ", p->entries[i].dst,
+ NULL);
+ add_command(c, RUN_CMD, tmp);
+ nvfree(tmp);
+ }
}
}