OptimoJoe / Optizelle

Optizelle [op-tuh-zel] is an open source software library designed to solve general purpose nonlinear optimization problems.
www.optimojoe.com/products/optizelle
63 stars 13 forks source link

Weak linking python libs on macOS #63

Closed IIlllII closed 4 years ago

IIlllII commented 5 years ago

Without this, using any non system python, seems to cause a crash on macOS saying: "PyThreadState_Get: no current thread"

See https://github.com/OptimoJoe/Optizelle/issues/62

josyoun commented 5 years ago

Ok, cool. Give me a few days to bring my mac server back online to run the tests; I'm currently on the travel. Thanks for locating this!

jschueller commented 4 years ago

this will break the win32 build: you still need python libs on this platform only

IIlllII commented 4 years ago

Nice catch, missed that. I guess something like this then, to ensure this only takes effect for APPLE.

jschueller commented 4 years ago

On Linux you dont need to link either