diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-12 11:58:21 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-12 11:58:21 +0000 |
| commit | 943eab102ecbd15a2bd4e0f7399dffe49b294d6a (patch) | |
| tree | 5549bb92b4b08b4ea80d8981c496d375c62f9c82 | |
| parent | 7a07a57bc02c8efe99e464b465660d1e54a4cf84 (diff) | |
Try to fix libdcp static build.
| -rw-r--r-- | src/wscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wscript b/src/wscript index 2359981b..ae881a8b 100644 --- a/src/wscript +++ b/src/wscript @@ -200,7 +200,10 @@ def build(bld): # Library for gcov if bld.is_defined('HAVE_GCOV'): - obj = bld(features='cxx cxxshlib') + if bld.env.STATIC: + obj = bld(features='cxx cxxstlib') + else: + obj = bld(features='cxx cxxshlib') obj.name = 'libdcp%s_gcov' % bld.env.API_VERSION obj.target = 'dcp%s_gcov' % bld.env.API_VERSION obj.export_includes = ['.'] |
