scons: print sentence is not available in python3.
This commit is contained in:
parent
831aeecf1f
commit
ab0b64b43a
@ -15,13 +15,13 @@ if os.sys.platform != "win32":
|
|||||||
conf = Configure(env);
|
conf = Configure(env);
|
||||||
|
|
||||||
if not conf.CheckCXX():
|
if not conf.CheckCXX():
|
||||||
print "The C++ compiler is not installed!"
|
print("The C++ compiler is not installed!")
|
||||||
Exit(1)
|
Exit(1)
|
||||||
|
|
||||||
libs = ['stdc++']
|
libs = ['stdc++']
|
||||||
for lib in libs:
|
for lib in libs:
|
||||||
if not conf.CheckLib(lib):
|
if not conf.CheckLib(lib):
|
||||||
print "library " + lib + " not installed!"
|
print("library " + lib + " not installed!")
|
||||||
Exit(1)
|
Exit(1)
|
||||||
|
|
||||||
conf.Finish()
|
conf.Finish()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user