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

Minor changes to attempt getting Python build working on MacOS-X with Python 2.3 framework.

- darwin-tools.jam; added warnings feature to control warning output.
- darwin-tools.jam; disable some Apple speicfic options when using g++ directly.
- darwin-tools.jam; disable dylib versioning, for now.
- python.jam; remove shared link to pyton2.3 lib for embebed targets.
- python.jam; remove uneeded path to python libraries, implicitly there because of framework use.
- python.jam; disable warnings, for now.


[SVN r18529]
This commit is contained in:
Rene Rivera
2003-05-24 16:24:46 +00:00
parent d7bd74cf26
commit 896ae7a0fc
4 changed files with 46 additions and 16 deletions

View File

@@ -59,6 +59,10 @@ if $(PYTHON_WINDOWS)
CYGWIN_PYTHON_DEBUG_DLL_PATH ?= $(CYGWIN_PYTHON_DEBUG_ROOT)/bin ;
CYGWIN_PYTHON_DEBUG_LIB_PATH ?= $(CYGWIN_PYTHON_DEBUG_ROOT)/lib/python$(CYGWIN_PYTHON_DEBUG_VERSION)/config ;
}
else if $(UNIX) && $(OS) = MACOSX
{
PYTHON_EMBEDDED_LIBRARY = dl util ;
}
else
{
PYTHON_EMBEDDED_LIBRARY = python$(PYTHON_VERSION) dl util ;
@@ -81,11 +85,10 @@ else if $(UNIX) && $(OS) = MACOSX
PYTHON_ROOT ?= /Library/Frameworks/Python.framework/Versions/$(PYTHON_VERSION) ;
PYTHON_ROOT = $(PYTHON_ROOT:J=" ") ;
PYTHON_INCLUDES ?= $(PYTHON_ROOT)/include/python$(PYTHON_VERSION) ;
PYTHON_LIB_PATH ?= $(PYTHON_ROOT)/lib/python$(PYTHON_VERSION)/config ;
PYTHON_PROPERTIES ?=
<sysinclude>$(PYTHON_INCLUDES)
<library-path>$(PYTHON_LIB_PATH)
<warnings>off
;
}
else if $(UNIX)