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:
15
python.jam
15
python.jam
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user