[MacPorts] #52700: port rev-upgrade stumbles over -weak_framework library dependencies
MacPorts
noreply at macports.org
Mon Oct 16 22:21:28 UTC 2023
#52700: port rev-upgrade stumbles over -weak_framework library dependencies
---------------------+--------------------------------
Reporter: RJVB | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Resolution: | Keywords:
Port: |
---------------------+--------------------------------
Comment (by jasonliu--):
I was recently also hit with this problem in a port that I am trying to
make a Portfile for, where the upstream devs are providing some portions
of their library as pre-compiled binary blobs, which have weakly linked
dependencies. It looks like one workaround is to use
{{{install_name_tool}}} and setting the weak dependency to something that
is guaranteed to exist, such as the root folder ({{{/}}}).
See: https://stackoverflow.com/questions/4824885/remove-dependent-shared-
library-from-a-dylib
--
Ticket URL: <https://trac.macports.org/ticket/52700#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list