The branch, master has been updated
via c3d40273888192f6d3bf7a686f3354ccde2384af (commit)
from 0baeef0a83a64f2520cc630c19b82238f10d41be (commit)
- Log -----------------------------------------------------------------
commit c3d40273888192f6d3bf7a686f3354ccde2384af
Author: Michel Zou <xantares09@xxxxxxxxxxx>
Date: Thu Sep 6 09:26:04 2012 +0200
Fix python lib linking on MacOS X
-----------------------------------------------------------------------
Summary of changes:
bindings/CMakeLists.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/CMakeLists.txt b/bindings/CMakeLists.txt
index 606e44b..acf4d11 100644
--- a/bindings/CMakeLists.txt
+++ b/bindings/CMakeLists.txt
@@ -15,8 +15,8 @@ if(PYTHON_BINDINGS AND SWIG_FOUND AND PYTHONLIBS_FOUND AND
PYTHONINTERP_FOUND)
# do not link python modules on debian
#
http://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html
- if ( NOT EXISTS "/etc/debian_version" )
- swig_link_libraries ( ftdi1 ${PYTHON_LIBRARIES} )
+ if ( NOT UNIX OR ( UNIX AND NOT EXISTS "/etc/debian_version" ) )
+ swig_link_libraries ( ftdi1 ${PYTHON_LIBRARIES} )
endif ()
execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "import sys; print(
'%d.%d' % ( sys.version_info[0], sys.version_info[1] ) )"
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|