summaryrefslogtreecommitdiff
path: root/src/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-17 19:55:37 +0000
committerCarl Hetherington <cth@carlh.net>2019-12-03 17:02:35 +0100
commit6c951dde6bef50136b3b2a2814be40eed509fe7f (patch)
tree56d809a84751188a74117c4329a2a5ce76273c5f /src/wscript
parent9a56728c049799a57a2011469bb51c10d3e96a41 (diff)
Debug.
Diffstat (limited to 'src/wscript')
-rw-r--r--src/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wscript b/src/wscript
index abe2318..08c9bd7 100644
--- a/src/wscript
+++ b/src/wscript
@@ -3,7 +3,9 @@ def configure(conf):
# Don't include the micro version number in PACKAGE_VERSION, as
# this ends up in MXFs and screws up DCP-o-matic's test references
# every time it changes
+ print(conf.env.VERSION)
s = conf.env.VERSION.split(b'.')
+ print(s)
major_minor = '%s.%s.0' % (s[0], s[1])
conf.env.append_value('CXXFLAGS', '-DPACKAGE_VERSION="%s"' % major_minor)
if conf.options.target_windows: