[Python-Dev] Distutils and -framework on MacOSX

Ronald Oussoren ronaldoussoren at mac.com
Thu Mar 29 11:55:54 CEST 2007


On 29 Mar, 2007, at 11:37, Greg Ewing wrote:

> Has anyone found a way of persuading distutils to
> pass MacOSX -framework options properly when linking?
>
> Using extra_link_args doesn't work, because they need
> to be at the beginning of the command line to work
> properly, but extra_link_args gets put at the end.
> And extra_compile_args is only used when compiling,
> not linking.

What's wrong with adding -framework flags to the end? I do this all  
the time and have yet to run into problems.

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3562 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20070329/3cf41e37/attachment.bin 


More information about the Python-Dev mailing list