diff options
author | midipix <writeonce@midipix.org> | 2017-08-10 18:48:23 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-08-10 18:48:23 -0400 |
commit | 20ff20dd8ed591059ada51e9bd8ecc154a2d270e (patch) | |
tree | 0987238af2811164fac14b5c905b15c95a23b3f8 | |
parent | 4df68fcd282811eacedf8b1a4253d4982ee9e78c (diff) | |
download | slibtool-20ff20dd8ed591059ada51e9bd8ecc154a2d270e.tar.bz2 slibtool-20ff20dd8ed591059ada51e9bd8ecc154a2d270e.tar.xz |
driver: properly handle -thread-safe (no-op, compatibility).
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 9b984e0..47afa83 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -339,6 +339,9 @@ static int slbt_split_argv( *targv++ = argv[i++]; *targv++ = argv[i]; + } else if (!(strcmp("thread-safe",&argv[i][1]))) { + (void)0; + } else { for (popt=optout; popt[0] && popt[0]->long_name; popt++) if (!(strcmp(popt[0]->long_name,&argv[i][1]))) |