summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/wscript b/wscript
index 6dc7ff0..813d014 100644
--- a/wscript
+++ b/wscript
@@ -46,8 +46,10 @@ def configure(conf):
autowaf.display_header('Suil Configuration')
conf.env.BUILD_SHARED = not Options.options.no_shared
- conf.env.BUILD_STATIC = (Options.options.static or
- Options.options.static_progs)
+ conf.env.BUILD_STATIC = Options.options.static
+
+ if not conf.env.BUILD_SHARED and not conf.env.BUILD_STATIC:
+ conf.fatal('Neither a shared nor a static build requested')
conf.env.NODELETE_FLAGS = []
if (not conf.env.MSVC_COMPILER and