summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-10-21 13:26:04 -0400
committermidipix <writeonce@midipix.org>2018-10-21 14:37:28 -0400
commit3ead954b0d2ce58f8836487ee3a5e48acb45a866 (patch)
tree56bebee95809e65fde0bed1786f683d9bee856ee /src/driver
parentecd3000aff8e52a5eca05b4bde06a0f25968f9b6 (diff)
downloadslibtool-3ead954b0d2ce58f8836487ee3a5e48acb45a866.tar.bz2
slibtool-3ead954b0d2ce58f8836487ee3a5e48acb45a866.tar.xz
slbt_split_argv(): properly normalize --library-path=<path> arguments.
Diffstat (limited to 'src/driver')
-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 cac449e..a2e71df 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -368,7 +368,7 @@ static int slbt_split_argv(
*dargv++ = dst;
*dst++ = '-';
*dst++ = 'L';
- strcpy(dst,&argv[++i][15]);
+ strcpy(dst,&argv[i][15]);
dst += strlen(dst)+1;
} else {
fcopy = true;