diff options
author | midipix <writeonce@midipix.org> | 2018-10-21 13:26:04 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-10-21 14:37:28 -0400 |
commit | 3ead954b0d2ce58f8836487ee3a5e48acb45a866 (patch) | |
tree | 56bebee95809e65fde0bed1786f683d9bee856ee | |
parent | ecd3000aff8e52a5eca05b4bde06a0f25968f9b6 (diff) | |
download | slibtool-3ead954b0d2ce58f8836487ee3a5e48acb45a866.tar.bz2 slibtool-3ead954b0d2ce58f8836487ee3a5e48acb45a866.tar.xz |
slbt_split_argv(): properly normalize --library-path=<path> arguments.
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 2 |
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; |