Merge branch 'cth' of ssh://git.carlh.net/home/carl/git/asdcplib-cth into cth
authorCarl Hetherington <cth@carlh.net>
Thu, 31 Jan 2019 23:33:05 +0000 (23:33 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 31 Jan 2019 23:33:05 +0000 (23:33 +0000)
src/wscript

index 638a89d4316a08481f0684d69576c77a84001c56..62e9b21bc1c0f5037150db8102a80f2de0d6b0c0 100644 (file)
@@ -5,7 +5,7 @@ def configure(conf):
     # every time it changes
     s = conf.env.VERSION.split('.')
     major_minor = '%s.%s.0' % (s[0], s[1])
-    conf.env.append_value('CXXFLAGS', '-DPACKAGE_VERSION="%s"' % major_minor)
+    conf.env.append_value('CXXFLAGS', ['-DPACKAGE_VERSION="%s"' % major_minor])
     if conf.options.target_windows:
         conf.env.append_value('CXXFLAGS', '-DASDCP_PLATFORM="win32"')
         conf.env.append_value('CXXFLAGS', '-DKM_WIN32')