Compiling a port statically

Ryan Schmidt ryandesign at macports.org
Sat Dec 5 07:07:53 UTC 2020



On Dec 5, 2020, at 00:09, Ken Cunningham wrote:

> There was a nice tweak put forth by -- I think it was Bill Cole -- to link a port statically. I used it for bash and gmake, but the idea might work for other ports too.
> 
> 
> See <https://github.com/kencu/myports/blob/eec2305f78ebac4f2240b47e409f19ceee035ca1/shells/bash/Portfile#L175> for an idea how it works.
> 
> 
> Obviously the block would need some tweaking for a given port, it gives the idea.

I can't think of a reason why we would want to offer such a thing.



More information about the macports-users mailing list