summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;