Bugfix in boost build.

- b2 used to be called bjam
This commit is contained in:
Todd Gamblin
2014-12-02 14:25:52 -08:00
parent e71cf672f1
commit 0c12e26026

View File

@@ -53,7 +53,10 @@ def install(self, spec, prefix):
bootstrap = Executable('./bootstrap.sh')
bootstrap()
b2 = Executable('./b2')
# b2 used to be called bjam, before 1.47 (sigh)
b2name = './b2' if spec.satisfies('@1.47:') else './bjam'
b2 = Executable(b2name)
b2('install',
'-j %s' % make_jobs,
'--prefix=%s' % prefix)