projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a07a57
)
Try to fix libdcp static build.
author
Carl Hetherington
<cth@carlh.net>
Tue, 12 Mar 2019 11:58:21 +0000
(11:58 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 12 Mar 2019 11:58:21 +0000
(11:58 +0000)
src/wscript
patch
|
blob
|
history
diff --git
a/src/wscript
b/src/wscript
index 2359981b6c0ca794757df8288dd82177db43cadc..ae881a8bf6abd25554809eb7d09e2beff593bec4 100644
(file)
--- 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 = ['.']