diff options
author | David Robillard <d@drobilla.net> | 2012-08-09 01:39:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-09 01:39:02 +0000 |
commit | 66f3296e7826c8beda165fcc029cc5a616dade6f (patch) | |
tree | a07d66711cb5de6fb01056329ecf885a6d2d66b6 | |
parent | 18c9076c989f9ed51601e250c0ad117c74bfafa7 (diff) | |
download | suil-66f3296e7826c8beda165fcc029cc5a616dade6f.tar.gz suil-66f3296e7826c8beda165fcc029cc5a616dade6f.tar.bz2 suil-66f3296e7826c8beda165fcc029cc5a616dade6f.zip |
Fix static stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4629 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | wscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |