Build fat libraries for OSX
|Reported by:||jmonk||Owned by:||jmonk|
To be compatible with both i386 and x86_64 libraries on intel machines we should build fat binaries on OSX that contain both architectures. I hope this is as simple as adding
-arch i386 -arch x86_64, although I just read an article saying that autotools doesn't play nicely with the
-arch option - I hope it is incorrect! If it turns out to be true then I'll have to compile the i386 and x86_64 libs separately and then stitch them together using the lipo command.
We also might want to do a similar thing for ppc macs with both ppc and ppc64 architectures, although I'm not sure anyone is likely to use ppc64 since it never made it to a laptop.