[PATCH] Allow LINK_PYTHON_LIBRARY=OFF on Darwin

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] Allow LINK_PYTHON_LIBRARY=OFF on Darwin

tdsmith
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]


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 [hidden email]



0001-Allow-LINK_PYTHON_LIBRARY-OFF-on-Darwin.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH] Allow LINK_PYTHON_LIBRARY=OFF on Darwin

Thomas Jarosch
Hi Tim,

On Tuesday, 16. August 2016 20:48:58 tdsmith wrote:

> 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

applied, thanks!

Thomas


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

...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH] Allow LINK_PYTHON_LIBRARY=OFF on Darwin

...
Hello, 
I'd like to know if there is a way(an api or other) to query the baudrate setting on ftdi devices. It could be interesting for reverse engeenering and debug old devices out off production that haven't working sw for new S.O.(I'm retrocomputer enthusiast).
Regards.


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


Loading...