2
0
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:
Rene Rivera
2003-11-03 19:50:47 +00:00
parent 3677e4b637
commit ea78e214f7
2 changed files with 15 additions and 6 deletions

View File

@@ -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)