[PyQt] Can't build sip as universal binary on Leopard

Kevin Walzer kw at codebykevin.com
Tue Jan 1 23:09:41 GMT 2008


This message on Apple's mailing list sheds some insight:

http://lists.apple.com/archives/Xcode-users/2007/Oct/msg00696.html

Essentially, the '-mmacosx-version-min=10.4' flag needs to be passed in 
somewhere. This is necessary because the current OS is now 10.5.

I'm not sure how to patch the toplevel configure.py to obtain the 
correct argument parsing, however. Running the  script with the invocation

python configure.py CFLAGS+='-isysroot /Developer/SDKs/MacOSX10.4u.sdk 
-mmacosx-version-min=10.4'

builds a single-platform (i386) binary, not a universal binary.

Any hints?

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the PyQt mailing list