--- tools/build/src/tools/python.jam.orig
+++ tools/build/src/tools/python.jam
@@ -431,7 +431,7 @@
     version ?= $(.version-countdown) ;
 
     local prefix
-      = [ GLOB /System/Library/Frameworks /Library/Frameworks
+      = [ GLOB @FRAMEWORKS_DIR@
           : Python.framework ] ;
 
     return $(prefix)/Versions/$(version)/bin/python ;
