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

Use of darwin toolset now makes use of Python framework.

[SVN r16027]
This commit is contained in:
Rene Rivera
2002-10-31 04:51:30 +00:00
parent 7b47ebce7d
commit 279a6c568a
2 changed files with 22 additions and 8 deletions

View File

@@ -137,10 +137,13 @@ rule select-python-library ( toolset variant : properties * )
}
if $(OS) = MACOSX && $(toolset) = darwin
{
properties = [ replace $(properties) : <shared-link>dynamic <shared-link>bundle ] ;
properties +=
<bundle-loader>$(PYTHON_ROOT)/bin/python$(PYTHON_VERSION)
;
if <target-type>PYD in $(properties)
{
properties +=
<bundle-loader>$(PYTHON_ROOT)/bin/python$(PYTHON_VERSION)
;
}
properties += <framework>Python ;
}
return $(properties) ;
}
@@ -290,6 +293,10 @@ if $(NT)
{
SUFPYD = .pyd $(SUFDLL[2-]) ;
}
else if $(OS) = MACOSX
{
SUFPYD = .so $(SUFDLL[2-]) ;
}
else
{
SUFPYD = $(SUFDLL) ;

View File

@@ -137,10 +137,13 @@ rule select-python-library ( toolset variant : properties * )
}
if $(OS) = MACOSX && $(toolset) = darwin
{
properties = [ replace $(properties) : <shared-link>dynamic <shared-link>bundle ] ;
properties +=
<bundle-loader>$(PYTHON_ROOT)/bin/python$(PYTHON_VERSION)
;
if <target-type>PYD in $(properties)
{
properties +=
<bundle-loader>$(PYTHON_ROOT)/bin/python$(PYTHON_VERSION)
;
}
properties += <framework>Python ;
}
return $(properties) ;
}
@@ -290,6 +293,10 @@ if $(NT)
{
SUFPYD = .pyd $(SUFDLL[2-]) ;
}
else if $(OS) = MACOSX
{
SUFPYD = .so $(SUFDLL[2-]) ;
}
else
{
SUFPYD = $(SUFDLL) ;