| 58 | === Tips for building !VirtualBox on Snow Leopard 32bit === |
| 59 | |
| 60 | For backward compatibility (that is Leopard) !VirtualBox is build against the 10.5 SDK even on Snow Leopard (32bit). This can be problematic if you are using e.g. OpenSSL from !MacPorts which is build against the 10.6 SDK. You have two possibilities to solve this problem: |
| 61 | |
| 62 | 1. Build all dependencies yourself and point them to the 10.5 SDK. Use e.g. ./configure --with-openssl-dir=/path/to/self/build/OpenSSL' before building !VirtualBox. |
| 63 | |
| 64 | 2. If you don't care about backwards compatibility, you can force !VirtualBox to be build against the 10.6 SDK. For this include the following into a file called !LocalConfig.kmk, which should be located in the top level directory of the !VirtualBox build tree: |
| 65 | {{{ |
| 66 | VBOX_DEF_MACOSX_VERSION_MIN = 10.6 |
| 67 | VBOX_DARWIN_NO_COMPACT_LINKEDIT = |
| 68 | VBOX_MACOS_10_5_WORKAROUND = |
| 69 | }}} |