Re:Creating an embeddable Python distribution on OS X
by zZorgz on Monday June 06, 2016 @03:18PM
(#11849498)
I think I have set CFLAGS to something like "-arch x86_64 -mmacosx-version-min=10.8″ when running ./configure to autoconf projects.
It's not really specific to Python, so "poorly documented" isn't a surprise.
Re:Creating an embeddable Python distribution on OS X
by jventura on Monday June 06, 2016 @03:59PM
(#11849823)
For Python you just need to do "./configure MACOSX_DEPLOYMENT_TARGET=10.8"..
I'm creating another blog post with all the info I got from this thread, regarding compiling Python from sources. I'm going to put the link here when ready..
Edit: http://joaoventura.net/blog/2016/embeddable-python-osx-from-...
Although Python is widely used, everything related to these kind of things seems to be poorly documented..
Edit: just need to do "./configure --enable-shared" and it will compile Python as shared library (libpython3.5m.dylib)..