Make MacPorts compile static binaries?

Ryan Schmidt ryandesign at macports.org
Sun Sep 30 23:20:59 PDT 2007


On Sep 30, 2007, at 19:22, Andreas Korthaus wrote:

> Is it possible to make MacPorts compile static binaries with all  
> libraries compiled in?

MacPorts libraries should build dynamic and static by default.

> For example I'd like to build "wget" in such a way that I can copy  
> it to another Intel Mac without needing all the linked libraries  
> in /opt/...

But most programs will link against other software dynamically. So  
no, there's probably no way to do what you want. Install MacPorts on  
that other Mac, then "sudo port install wget"







More information about the macports-users mailing list