diff options
author | midipix <writeonce@midipix.org> | 2016-04-29 19:15:50 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-29 19:22:30 -0400 |
commit | ed278036574c892772b26ee110ba6e1258affbe6 (patch) | |
tree | 2b426770e047a93a298b79a5798ecb760978cb1d /src | |
parent | 0f5ca73f2949c3052e8935b2f70096a86f1ffcb1 (diff) | |
download | slibtool-ed278036574c892772b26ee110ba6e1258affbe6.tar.bz2 slibtool-ed278036574c892772b26ee110ba6e1258affbe6.tar.xz |
utility: add fallback initialization for flags.
Diffstat (limited to 'src')
-rw-r--r-- | src/slibtool.c | 3 |
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; |