Using Libraries

Ryan Schmidt ryandesign at
Fri Sep 18 02:55:46 PDT 2015

On Sep 18, 2015, at 3:05 AM, Jeremy Huddleston Sequoia wrote:

> If you really need the exact MacPorts file, copy it into your project and use install_name_tool to change its dylib-id and any links to other MacPorts libraries to be @executable_path-relative.  Do similarly for all its dependencies and all their dependencies, etc.  Then use a copy-files phase to copy all the dylibs into the appropriate place in your app bundle.

Or use the dylibbundler program (available in the dylibbundler port) to do this for you after you build.

More information about the macports-users mailing list