Update of /cvsroot/boost/boost/tools/build/v2/tools
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5760
Modified Files:
Tag: RC_1_34_0
python.jam
Log Message:
Fix linking of libboost_python on Mac OS X
Index: python.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/python.jam,v
retrieving revision 1.12.2.20
retrieving revision 1.12.2.21
diff -u -d -r1.12.2.20 -r1.12.2.21
--- python.jam 19 Sep 2006 13:56:26 -0000 1.12.2.20
+++ python.jam 24 Sep 2006 12:35:28 -0000 1.12.2.21
@@ -363,19 +363,20 @@
}
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
? )
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs