From 279a6c568ac9016547eebbead701a696405bbbd8 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 31 Oct 2002 04:51:30 +0000 Subject: [PATCH] Use of darwin toolset now makes use of Python framework. [SVN r16027] --- python.jam | 15 +++++++++++---- v1/python.jam | 15 +++++++++++---- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/python.jam b/python.jam index 0a1ba1e0f..6c6126c92 100644 --- a/python.jam +++ b/python.jam @@ -137,10 +137,13 @@ rule select-python-library ( toolset variant : properties * ) } if $(OS) = MACOSX && $(toolset) = darwin { - properties = [ replace $(properties) : dynamic bundle ] ; - properties += - $(PYTHON_ROOT)/bin/python$(PYTHON_VERSION) - ; + if PYD in $(properties) + { + properties += + $(PYTHON_ROOT)/bin/python$(PYTHON_VERSION) + ; + } + properties += Python ; } return $(properties) ; } @@ -290,6 +293,10 @@ if $(NT) { SUFPYD = .pyd $(SUFDLL[2-]) ; } +else if $(OS) = MACOSX +{ + SUFPYD = .so $(SUFDLL[2-]) ; +} else { SUFPYD = $(SUFDLL) ; diff --git a/v1/python.jam b/v1/python.jam index 0a1ba1e0f..6c6126c92 100644 --- a/v1/python.jam +++ b/v1/python.jam @@ -137,10 +137,13 @@ rule select-python-library ( toolset variant : properties * ) } if $(OS) = MACOSX && $(toolset) = darwin { - properties = [ replace $(properties) : dynamic bundle ] ; - properties += - $(PYTHON_ROOT)/bin/python$(PYTHON_VERSION) - ; + if PYD in $(properties) + { + properties += + $(PYTHON_ROOT)/bin/python$(PYTHON_VERSION) + ; + } + properties += Python ; } return $(properties) ; } @@ -290,6 +293,10 @@ if $(NT) { SUFPYD = .pyd $(SUFDLL[2-]) ; } +else if $(OS) = MACOSX +{ + SUFPYD = .so $(SUFDLL[2-]) ; +} else { SUFPYD = $(SUFDLL) ;