It's better [1] not to link libpython directly when building extension
modules on OS X. This patch tells the linker not to complain about
undefined symbols when building the libftdi extension module with
LINK_PYTHON_LIBRARY=OFF.

I also think LINK_PYTHON_LIBRARY=OFF would be a good default for OS X.

There's a related PR to Homebrew, the OS X package manager. [2]

[1] http://blog.tim-smith.us/2015/09/python-extension-modules-os-x/
[2] https://github.com/Homebrew/homebrew-core/pull/3934

Thanks,

-- 
Tim Smith
Freenode: tdsmith, #machomebrew
https://tds.xyz, https://github.com/tdsmith


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Attachment: 0001-Allow-LINK_PYTHON_LIBRARY-OFF-on-Darwin.patch
Description: Binary data

Reply via email to