diff options
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_argv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_argv.c b/src/logic/linkcmd/slbt_linkcmd_argv.c index e4f0d12..a0c342c 100644 --- a/src/logic/linkcmd/slbt_linkcmd_argv.c +++ b/src/logic/linkcmd/slbt_linkcmd_argv.c @@ -525,9 +525,11 @@ slbt_hidden int slbt_exec_link_adjust_argument_vector( depsmeta, SLBT_NESTED_ERROR(dctx)); - *aarg++ = darg; - mark = darg; + if (darg[0] != '#') { + *aarg++ = darg; + } + mark = darg; dlen = strlen(darg); size -= dlen; darg += dlen; |