From: Alan W. I. <ai...@us...> - 2006-09-29 04:03:39
|
Update of /cvsroot/plplot/plplot/bindings/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7001/bindings/python Modified Files: CMakeLists.txt Log Message: Add ${PYTHON_LIBRARIES} to list of libraries for swig_link_libraries on _plplotcmodule target. This is required for Mac OS X, and desirable (removes all undefined symbols when querying _plplotcmodule.so with ldd -r) for Linux. Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/plplot/plplot/bindings/python/CMakeLists.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- CMakeLists.txt 21 Sep 2006 22:23:34 -0000 1.6 +++ CMakeLists.txt 29 Sep 2006 04:03:38 -0000 1.7 @@ -40,7 +40,7 @@ # N.B. the python target has an underscore prepended automatically. swig_add_module(plplotcmodule python plplotcmodule.i) -swig_link_libraries(plplotcmodule plplot${LIB_TAG}) +swig_link_libraries(plplotcmodule plplot${LIB_TAG} ${PYTHON_LIBRARIES}) get_target_property(LIB_INSTALL_RPATH plplot${LIB_TAG} INSTALL_RPATH) set_target_properties( |