diff options
author | midipix <writeonce@midipix.org> | 2018-08-13 18:10:27 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-08-13 19:26:25 -0400 |
commit | 2942830e75435066596bd9e612cac8102b5331f4 (patch) | |
tree | 49db7ca81f008a69abe8ec2e383637aa9ec8a5a8 /src/driver | |
parent | 499a718d986776354bbd4e7787ea1c30c851e384 (diff) | |
download | slibtool-2942830e75435066596bd9e612cac8102b5331f4.tar.bz2 slibtool-2942830e75435066596bd9e612cac8102b5331f4.tar.xz |
utility: --heuristics support: added the 'rlibtool' convenience symlink.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/slbt_amain.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c index e0d6bb9..c060021 100644 --- a/src/driver/slbt_amain.c +++ b/src/driver/slbt_amain.c @@ -154,6 +154,10 @@ int slbt_main(char ** argv, char ** envp, const struct slbt_fd_ctx * fdctx) if ((program[8] == '-') || (program[8] == '.')) flags |= SLBT_DRIVER_LEGABITS; + /* heuristics */ + if (!(strcmp(program,"rlibtool"))) + flags |= SLBT_DRIVER_HEURISTICS; + /* driver context */ if ((ret = slbt_get_driver_ctx(argv,envp,flags,fdctx,&dctx))) return (ret == SLBT_USAGE) |