From d15d16d8555e701b5293e92fd4992ca4537718bd Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 3 May 2016 14:50:01 -0400 Subject: utility: legabits: initial integration. --- src/slibtool.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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; -- cgit v1.2.3