From 66f3296e7826c8beda165fcc029cc5a616dade6f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Aug 2012 01:39:02 +0000 Subject: Fix static stuff. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4629 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 6 ++++-- 1 file 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 -- cgit v1.2.1