summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/logic/slbt_exec_link.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index c4a5023..25a9412 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -656,7 +656,10 @@ static int slbt_exec_link_finalize_argument_vector(
} else {
/* not a -l argument? */
if ((parg[0][0] != '-') || (parg[0][1] != 'l')) {
- *aarg++ = *parg++;
+ if (!strncmp(*parg,"-USLIBTOOL_PLACEHOLDER_",23))
+ parg++;
+ else
+ *aarg++ = *parg++;
} else {
/* find the previus occurence of this -l argument */