diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-11-27 13:45:00 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-27 14:12:25 -0800 |
commit | 27bfc587cfe026ac4e1b38ac32af35696f4a65a3 (patch) | |
tree | 1ee46c687744856b4e0196119c3926040c4f34e1 /INSTALL | |
parent | f4344179717ac5b5110b302ff52f953187188e16 (diff) | |
download | subsurface-27bfc587cfe026ac4e1b38ac32af35696f4a65a3.tar.gz |
Update the Mac instructions to include an install_name_tool step
This changes the Mach-O library ID to match the install path. The
library ID is copied by the linker when Subsurface is linked against
Marble and can be seen with otool -L. That's also what macdeployqt
uses to find the dependencies: if the file matching the name in otool
-L exists, macdeployqt will deploy the library and update the search
paths.
Conclusion: after this patch, the "make mac-deploy" command will also
deploy Marble correctly.
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -57,6 +57,7 @@ $ cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local $ cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local ../sources $ cd src/lib $ make -j4 +$ install_name_tool -id /usr/local/lib/`echo libmarblewidget.??.dylib` libmarblewidget.dylib $ cp *dylib /usr/local/lib/ $ mkdir -p /usr/local/include/marble $ cd ../../../sources/src/lib |