[MacPorts] #69119: boost: enable static libraries by default

MacPorts noreply at macports.org
Wed Jan 17 21:10:30 UTC 2024


#69119: boost: enable static libraries by default
-------------------------------------------------+-------------------------
  Reporter:  mohd-akram                          |      Owner:  (none)
      Type:  enhancement                         |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  boost169, boost171, boost176,       |
  boost178, boost181                             |
-------------------------------------------------+-------------------------

Comment (by mohd-akram):

 Thank you for the reply, that's a great trip through MacPorts history.
 Well, I was building a package that used Boost via CMake and it gave a
 cryptic error that it couldn't find Boost until I realized that it
 defaulted to looking for static Boost. While use of dynamic libraries
 isn't common on macOS, from what I've seen it is customary for MacPorts
 ports to provide both shared and static libraries, and this is part of the
 appeal of using ports, so I was surprised to find them missing. Static
 libraries are also useful for distributing a single binary.

-- 
Ticket URL: <https://trac.macports.org/ticket/69119#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list