2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Fix infinite loop when PYTHON_ROOT is specified and it's not a framework, MacOSX.

[SVN r22985]
This commit is contained in:
Rene Rivera
2004-05-31 19:01:17 +00:00
parent bae27d5551
commit 17fd1a2bba

View File

@@ -104,7 +104,7 @@ else if $(UNIX) && $(OS) = MACOSX
PYTHON_ROOT = $(PYTHON_ROOT:J=" ") ;
PYTHON_INCLUDES ?= $(PYTHON_ROOT)/include/python$(PYTHON_VERSION) ;
PYTHON_FRAMEWORK ?= $(PYTHON_ROOT) ;
while $(PYTHON_FRAMEWORK:D=) != Python.framework
while $(PYTHON_FRAMEWORK:D=) && $(PYTHON_FRAMEWORK:D=) != Python.framework
{
PYTHON_FRAMEWORK = $(PYTHON_FRAMEWORK:D) ;
}