projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1eb3e8
)
Centos 6's python does not have subprocess.check_output
author
Carl Hetherington
<cth@carlh.net>
Tue, 29 Jan 2019 23:53:43 +0000
(23:53 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 29 Jan 2019 23:53:43 +0000
(23:53 +0000)
src/wx/wscript
patch
|
blob
|
history
diff --git
a/src/wx/wscript
b/src/wx/wscript
index 3be3a6763695b0e0ab620224c607479408dfecd3..24c2b8b5eb923985c825a3f67fe1f2a4d995367d 100644
(file)
--- a/
src/wx/wscript
+++ b/
src/wx/wscript
@@
-171,7
+171,7
@@
def configure(conf):
conf.env.STLIBPATH_WXWIDGETS = stlib_paths
conf.in_msg = 1
- wx_version = subprocess.
check_output([wx_config, '--version'])
.decode('UTF-8')
+ wx_version = subprocess.
Popen([wx_config, '--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()[0]
.decode('UTF-8')
conf.in_msg = 0
if not wx_version.startswith('3.0.'):
conf.fatal('wxwidgets version 3.0.x is required; %s found' % wx_version)