summaryrefslogtreecommitdiffhomepage
path: root/src/logic/linkcmd/slbt_linkcmd_executable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/linkcmd/slbt_linkcmd_executable.c')
-rw-r--r--src/logic/linkcmd/slbt_linkcmd_executable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_executable.c b/src/logic/linkcmd/slbt_linkcmd_executable.c
index 76c0b1d..e192b72 100644
--- a/src/logic/linkcmd/slbt_linkcmd_executable.c
+++ b/src/logic/linkcmd/slbt_linkcmd_executable.c
@@ -210,9 +210,9 @@ slbt_hidden int slbt_exec_link_create_executable(
"export %s=\"$DL_PATH\"\n\n"
"if [ $(basename \"$0\") = \"%s\" ]; then\n"
"\tprogram=\"$1\"; shift\n"
- "\texec \"$program\" \"$@\"\n"
+ "\texec -- \"$program\" \"$@\"\n"
"fi\n\n"
- "exec %s/%s \"$@\"\n",
+ "exec -- %s/%s \"$@\"\n",
dctx->cctx->settings.ldpathenv,
dctx->cctx->settings.ldpathenv,
base,