Re: Building compatible dependencies

Ronald Oussoren <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <[email protected]>
On 11 Jun 2014, at 17:58, Chris Barker <[email protected]> wrote:

> Hi folks,
> 
> I know it'a at least theoretically possible to build libs under 10.9 that will work on 10.6 -- specifically compatible with the python.org python binaries.
> 
> But I"m having trouble finding documentation of what flags you need.
> 
> MACOSX_DEPLOYMENT_TARGET=10.6
> 
> should be required -- but anything else?
> 
> personally, I've solved this by building on the oldest machine I want to support, but that's not always possible anymore.
> 
> Anyone have an example?

Setting MACOSX_DEPLOYMENT_TARGET should be enough, but you may need to do more work depending on the code that you try to build. In particular, code using configure scripts might find APIs or libraries that are available on 10.9 and not on 10.6. 

Ronald

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.