mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Attempt to handle frameworks in consistent manner.
* darwin-tools.jam; Use -F option to specify the framework location, if the framework has one. * python.jam; Try and determine where the Python framework is. * python.jam; Remove requirement that warnings be off when building. [SVN r20616]
This commit is contained in:
@@ -81,13 +81,22 @@ if $(NT)
|
||||
}
|
||||
else if $(UNIX) && $(OS) = MACOSX
|
||||
{
|
||||
PYTHON_ROOT ?= /Library/Frameworks/Python.framework/Versions/$(PYTHON_VERSION) ;
|
||||
if ! $(PYTHON_ROOT)
|
||||
{
|
||||
if [ GLOB /System/Library/Frameworks : Python.framework ]
|
||||
{
|
||||
PYTHON_ROOT ?= /System/Library/Frameworks/Python.framework/Versions/$(PYTHON_VERSION) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
PYTHON_ROOT ?= /Library/Frameworks/Python.framework/Versions/$(PYTHON_VERSION) ;
|
||||
}
|
||||
}
|
||||
PYTHON_ROOT = $(PYTHON_ROOT:J=" ") ;
|
||||
PYTHON_INCLUDES ?= $(PYTHON_ROOT)/include/python$(PYTHON_VERSION) ;
|
||||
|
||||
PYTHON_PROPERTIES ?=
|
||||
<sysinclude>$(PYTHON_INCLUDES)
|
||||
<warnings>off
|
||||
;
|
||||
}
|
||||
else if $(UNIX)
|
||||
|
||||
Reference in New Issue
Block a user