diff options
author | midipix <writeonce@midipix.org> | 2016-05-03 14:50:01 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-05-03 14:50:01 -0400 |
commit | d15d16d8555e701b5293e92fd4992ca4537718bd (patch) | |
tree | d8c3df6d80b8b8531b5398be922e17c83fbf39e2 /src | |
parent | 0a9bff7db844b4bf21bf548616647bddecb13ff2 (diff) | |
download | slibtool-d15d16d8555e701b5293e92fd4992ca4537718bd.tar.bz2 slibtool-d15d16d8555e701b5293e92fd4992ca4537718bd.tar.xz |
utility: legabits: initial integration.
Diffstat (limited to 'src')
-rw-r--r-- | src/slibtool.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/slibtool.c b/src/slibtool.c index dac0153..7a1af20 100644 --- a/src/slibtool.c +++ b/src/slibtool.c @@ -137,6 +137,14 @@ int slibtool_main(int argc, char ** argv, char ** envp) if ((program[8] == '-') || (program[8] == '.')) flags |= SLBT_DRIVER_DEBUG; + /* legabits */ + if (!(strcmp(program,"clibtool"))) + flags |= SLBT_DRIVER_LEGABITS; + + else if (!(strncmp(program,"clibtool",8))) + if ((program[8] == '-') || (program[8] == '.')) + flags |= SLBT_DRIVER_LEGABITS; + /* driver context */ if ((ret = slbt_get_driver_ctx(argv,envp,flags,&dctx))) return (ret == SLBT_USAGE) ? !--argc : 2; |