[MacPorts] #63264: meson @0.55.3 does not set DYLD_LIBRARY_PATH during build
MacPorts
noreply at macports.org
Tue Jul 20 01:30:04 UTC 2021
#63264: meson @0.55.3 does not set DYLD_LIBRARY_PATH during build
-------------------------+----------------------
Reporter: evanmiller | Owner: git@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: tiger
Port: meson |
-------------------------+----------------------
Comment (by kencu):
most of the time, my meson hack for Tiger actually works, which surprises
me sometimes to be honest.
For ports that run software during the build or install phases, a hand-
tweaked workaround is needed.
See for example {{{ati-spi2-core}}} , where I added this block:
{{{
platform darwin 8 {
# meson on Tiger cannot use rpaths, so we workaround with this to find
dylib
destroot.env-append "DYLD_LIBRARY_PATH=${build_dir}/atspi"
}
}}}
to allow the binaries to find the dylib during the destroot phase.
This is the best I have for now. A proper fix for meson, that does not use
@rpaths, is possible -- they do it on Windows -- but is hard to do.
Some method that might allow Tiger to support @rpaths would be great, but
that seems very hard to do.
--
Ticket URL: <https://trac.macports.org/ticket/63264#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list