Compiling a port statically

Ryan Schmidt ryandesign at macports.org
Mon Dec 7 07:39:02 UTC 2020



On Dec 7, 2020, at 01:01, Jeffrey Walton wrote:

> Static linking also allows you to move binaries around the filesystem
> with dicking around with otool and install_name_tool.

Since programs are linked to libraries by their absolute path, you can move a program anywhere in the filesystem even if it is linked to dynamic libraries.

> Stack Overflow
> has several questions related to OS X programs that are linked to
> OpenSSL. The programs had a lot of trouble once bundled because of the
> antique version of OpenSSL supplied by Apple.

Don't see what that has to do with this thread.



More information about the macports-users mailing list