summaryrefslogtreecommitdiff
path: root/system/boost/dual-python.patch
blob: 6a0647888952bf2a382ae10c2c5bd618557fd817 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/tools/build/src/tools/python.jam b/tools/build/src/tools/python.jam
index cbd6419..0c29df6 100644
--- a/tools/build/src/tools/python.jam
+++ b/tools/build/src/tools/python.jam
@@ -907,14 +907,14 @@ local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? :
     # for a particular target OS as the default. This makes it so that we can
     # select a python interpreter with only knowledge of the target OS. And hence
     # can configure different Pythons based on the target OS only.
-    local toolset-requirements = [ toolset.requirements ] ;
-    local toolset-target-os-requirements
-        = [ property.evaluate-conditionals-in-context
-            [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ;
-    if ! <python> in $(toolset-target-os-requirements:G)
-    {
-        toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ;
-    }
+#    local toolset-requirements = [ toolset.requirements ] ;
+#    local toolset-target-os-requirements
+#        = [ property.evaluate-conditionals-in-context
+#            [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ;
+#    if ! <python> in $(toolset-target-os-requirements:G)
+#    {
+#        toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ;
+#    }
 
     # Register the right suffix for extensions.
     register-extension-suffix $(extension-suffix) : $(target-requirements) ;