Ticket #1085: python.jam.patch
File python.jam.patch, 1.5 KB (added by , 15 years ago) |
---|
-
boost_1_33_1/tools/build/v2/tools/python.jam
old new rule init-unix ( version ? : root ? : in 142 142 143 143 rule init-mac ( version : root : includes ? : libraries ? ) 144 144 { 145 # FIXME: root should be optional 145 146 if ! $(root) 146 147 { 147 148 if [ GLOB /System/Library/Frameworks : Python.framework ] … … rule init-mac ( version : root : include 153 154 root = /Library/Frameworks/Python.framework/Versions/$(version) ; 154 155 } 155 156 } 156 includes ?= $(PYTHON_ROOT)/include/python$(PYTHON_VERSION) ; 157 #includes ?= $(PYTHON_ROOT)/include/python$(PYTHON_VERSION) ; 158 includes ?= $(root)/include/python$(version) ; 157 159 # FIXME: not sure what PYTHON_FRAMEWORK variable is 158 160 PYTHON_FRAMEWORK ?= $(root) ; 159 161 while $(PYTHON_FRAMEWORK:D=) && $(PYTHON_FRAMEWORK:D=) != Python.framework … … rule init-mac ( version : root : include 162 164 } 163 165 PYTHON_FRAMEWORK = $(PYTHON_FRAMEWORK:D)/Python ; 164 166 165 alias python 167 alias python_for_extensions 166 168 : 167 169 : 168 170 : … … rule init-mac ( version : root : include 171 173 172 174 alias python 173 175 : 174 : <os>MACOSX X<toolset>darwin176 : <os>MACOSX <toolset>darwin 175 177 : 176 : <framework>$(PYTHON_FRAMEWORK) 178 #: <framework>$(PYTHON_FRAMEWORK) 179 : <include>$(includes) 180 <framework>Python 177 181 ; 178 182 } 179 183