python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / boost / darwin-no-system-python.patch
blob73e0910336a107537b08997c90b66144855ec03b
1 diff --git a/tools/build/src/tools/python.jam b/tools/build/src/tools/python.jam
2 index 273b28a..2d2031e 100644
3 --- a/tools/build/src/tools/python.jam
4 +++ b/tools/build/src/tools/python.jam
5 @@ -428,13 +428,7 @@ local rule windows-installed-pythons ( version ? )
7 local rule darwin-installed-pythons ( version ? )
9 - version ?= $(.version-countdown) ;
11 - local prefix
12 - = [ GLOB /System/Library/Frameworks /Library/Frameworks
13 - : Python.framework ] ;
15 - return $(prefix)/Versions/$(version)/bin/python ;
16 + return ;
20 @@ -890,25 +884,6 @@ local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? :
22 # See if we can find a framework directory on darwin.
23 local framework-directory ;
24 - if $(target-os) = darwin
25 - {
26 - # Search upward for the framework directory.
27 - local framework-directory = $(libraries[-1]) ;
28 - while $(framework-directory:D=) && $(framework-directory:D=) != Python.framework
29 - {
30 - framework-directory = $(framework-directory:D) ;
31 - }
33 - if $(framework-directory:D=) = Python.framework
34 - {
35 - debug-message framework directory is \"$(framework-directory)\" ;
36 - }
37 - else
38 - {
39 - debug-message "no framework directory found; using library path" ;
40 - framework-directory = ;
41 - }
42 - }
44 local dll-path = $(libraries) ;