| | 1 | To build Mussa on OS X as a universal binary obviously requires, that all of the dependencies be built as universal binaries. |
| | 2 | |
| | 3 | == Qt == |
| | 4 | |
| | 5 | Thankfully Qt was quite simple, as there is a "-universal" switch that one needs to pass to the configure script. |
| | 6 | |
| | 7 | Some of the systems used to build mussa have png libraries in the /usr/local/lib directories, so to make redistribution a little simpler, the version qt the OS X binary is linked against uses the qt versions of a number of graphics libraries. |
| | 8 | |
| | 9 | {{{ |
| | 10 | configure --prefix=/usr/local/qt/4.1.4 -qt-libpng -system-zlib -qt-libjpeg -qt-gif -qt-libmng -fast -confirm-license -universal "$@" |
| | 11 | }}} |
| | 12 | |
| | 13 | Redistributing OS X binaries is quite annoying, as OS X pre-links all shared libraries, so unless one installs the Qt frameworks in exactly the same place as the development machine Mussa won't work. |
| | 14 | |
| | 15 | Included in the Mussa source tree is a small python script source:mussa/makelib/osxdist.py which will copy the Qt frameworks into the .app bundle and properly bless all of the binaries with install_name_tool. |
| | 16 | |
| | 17 | == Boost == |
| | 18 | |
| | 19 | == PostgreSQL == |
| | 20 | |
| | 21 | |