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

Fix linking of libboost_python on Mac OS X

[SVN r35307]
This commit is contained in:
Douglas Gregor
2006-09-24 12:36:22 +00:00
parent a88ed54893
commit 8fa3e76304

View File

@@ -363,19 +363,20 @@ rule init-mac ( version : root ? : includes ? : libraries ? )
}
PYTHON_FRAMEWORK = $(PYTHON_FRAMEWORK:D)/Python ;
alias python_for_extensions
:
:
:
: <include>$(includes)
;
alias python
:
: <os>MACOSX <toolset>darwin
:
: <include>$(includes) <framework>$(PYTHON_FRAMEWORK)
;
# Unlike most *nix systems, Mac OS X's linker does not permit undefined
# symbols when linking a shared library. So, we still need to link
# against the Python framework, even when building extensions.
# Note that framework builds of Python always use shared libraries,
# so we do not need to worry about duplicate Python symbols.
.alias-defined = true ;
alias python_for_extensions : python ;
}
rule init-nt ( version : root ? : includes ? : libraries ? : cygwin-condition ? )