<div dir="ltr"><div dir="ltr">That comes right from Iain - here's the relevant gcc ticket I believe:<br><br><a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88590">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88590</a><br><br></div><div>I'm sure Iain would be delighted to find a way around this.<br></div><div dir="ltr"><br><br></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Tue, May 24, 2022 at 9:50 AM Joshua Root <<a href="mailto:jmr@macports.org">jmr@macports.org</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">On 2022-5-25 01:22 , Ken Cunningham wrote:<br>
>> Does anyone know why things seem to be using rpath on arm64 builds<br>
> <br>
> Basically, it comes down to the fact that Apple has disallowed <br>
> DYLD_LIBRARY_PATH to work on newer systems.<br>
<br>
This is the first I've heard of it. Is this supposed to be the case only <br>
on arm64? I know DYLD_* variables are ignored when running SIP-flagged <br>
executables, but that wouldn't apply to something that has just been built.<br>
<br>
We use DYLD_LIBRARY_PATH in our own build system: <br>
<<a target="_blank" rel="noreferrer" href="https://github.com/macports/macports-base/blob/master/vendor/tclsh.in">https://github.com/macports/macports-base/blob/master/vendor/tclsh.in</a>><br>
<br>
- Josh<br>
</blockquote></div>