summaryrefslogtreecommitdiff
path: root/src/slibtool.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-03 14:50:01 -0400
committermidipix <writeonce@midipix.org>2016-05-03 14:50:01 -0400
commitd15d16d8555e701b5293e92fd4992ca4537718bd (patch)
treed8c3df6d80b8b8531b5398be922e17c83fbf39e2 /src/slibtool.c
parent0a9bff7db844b4bf21bf548616647bddecb13ff2 (diff)
downloadslibtool-d15d16d8555e701b5293e92fd4992ca4537718bd.tar.bz2
slibtool-d15d16d8555e701b5293e92fd4992ca4537718bd.tar.xz
utility: legabits: initial integration.
Diffstat (limited to 'src/slibtool.c')
-rw-r--r--src/slibtool.c8
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;