summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slibtool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slibtool.c b/src/slibtool.c
index 6548099..bc3584b 100644
--- a/src/slibtool.c
+++ b/src/slibtool.c
@@ -119,6 +119,9 @@ int slibtool_main(int argc, char ** argv, char ** envp)
else if (!(strcmp(dash,"static")))
flags = SLBT_DRIVER_FLAGS | SLBT_DRIVER_DISABLE_SHARED;
+ else
+ flags = SLBT_DRIVER_FLAGS;
+
/* driver context */
if ((ret = slbt_get_driver_ctx(argv,envp,flags,&dctx)))
return (ret == SLBT_USAGE) ? !--argc : 2;