summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-09 01:28:29 +0000
committerDavid Robillard <d@drobilla.net>2012-08-09 01:28:29 +0000
commitb23c702606d502307b27c7b6cdb616d6f3a85e29 (patch)
tree88bde939b8013733d8ce0071d0d053eca76f4adb /wscript
parent27b26f08b3f0f3f9ac09e7d7b1fd8c41648b44bc (diff)
downloadsratom-b23c702606d502307b27c7b6cdb616d6f3a85e29.tar.gz
sratom-b23c702606d502307b27c7b6cdb616d6f3a85e29.tar.bz2
sratom-b23c702606d502307b27c7b6cdb616d6f3a85e29.zip
Fix static stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4627 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/wscript b/wscript
index aa467a7..dfa3fe3 100644
--- a/wscript
+++ b/wscript
@@ -42,8 +42,10 @@ def configure(conf):
conf.env.BUILD_TESTS = Options.options.build_tests
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')
# Check for gcov library (for test coverage)
if conf.env.BUILD_TESTS: