From 5df7fec847a23d5fdb7c89bced233016c26d83f7 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 3 Oct 2006 13:45:22 +0000 Subject: [PATCH] Fix more python configuration bugs [SVN r35455] --- src/tools/python.jam | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tools/python.jam b/src/tools/python.jam index 2cadcdbef..9f1389fce 100644 --- a/src/tools/python.jam +++ b/src/tools/python.jam @@ -177,7 +177,8 @@ rule init-unix ( version ? : root ? : includes ? : libraries ? : condition * ) # Form the python commands to try in order. First look for python # with the explicit version number, then without it - local cmds = $(bin:E="")python$(version:E="") $(bin:E="")python ; + local python = python ; + local cmds = $(python:D=$(bin:E=""))$(version:E="") $(python:D=$(bin:E="")) ; local interpreter ; while $(cmds) @@ -276,7 +277,7 @@ rule init-unix ( version ? : root ? : includes ? : libraries ? : condition * ) case OSF : { - extra-libs = pthread z ; + extra-libs = pthread ; extra-libs-conditional = gcc:rt ; }