On 11/8/11 11:41 PM, Kevin Walzer wrote:
Is there any way I can get this executable linked to
/System/Library/Frameworks/Cocoa.framework? I didn't think
install_name_tool would do the trick, as that just rewrites links,
rather than adding them. A

Any suggestions are appreciated.

I solved the problem by hacking the setup.py file in apptemplates (in the py2app source tree) to add an LDFLAGS parameter with a '-framework Cocoa' linker flag. Ugly, but it meets my needs. Probably not worth it to submit a patch.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to