aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/boost/boost-1.45.0/01-fix-default-python-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/boost/boost-1.45.0/01-fix-default-python-config.patch')
-rw-r--r--recipes/boost/boost-1.45.0/01-fix-default-python-config.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/boost/boost-1.45.0/01-fix-default-python-config.patch b/recipes/boost/boost-1.45.0/01-fix-default-python-config.patch
new file mode 100644
index 0000000000..de7ff36c81
--- /dev/null
+++ b/recipes/boost/boost-1.45.0/01-fix-default-python-config.patch
@@ -0,0 +1,29 @@
+Index: boost_1_45_0/tools/build/v2/tools/python.jam
+===================================================================
+--- boost_1_45_0.orig/tools/build/v2/tools/python.jam 2010-12-27 16:10:56.340207790 -0500
++++ boost_1_45_0/tools/build/v2/tools/python.jam 2010-12-27 16:11:53.751709203 -0500
+@@ -806,11 +806,7 @@
+ }
+
+ # Anything left to compute?
+- if $(includes) && $(libraries)
+- {
+- .configured = true ;
+- }
+- else
++ if ! $(includes) || ! $(libraries)
+ {
+ version ?= $(fallback-version) ;
+ version ?= 2.5 ;
+@@ -818,6 +814,11 @@
+ compute-default-paths $(target-os) : $(version) : $(prefix:E=) ;
+ }
+
++ if $(includes) && $(libraries)
++ {
++ .configured = true ;
++ }
++
+ if ! $(interpreter-cmd)
+ {
+ fallback-cmd ?= python ;