That’s strange as this should work maybe only dylibs do this correctly.. this is Apple. Could you instead implement adding this in the manner I explain above instead so I can be used in a more general way?, aka UNIX_LDFLAGS that by default add this needed -rpath,@loader_path/ but also allows adding additional flags as needed. On Fri, Aug 20, 2021 at 11:40 AM Huw Davies <huw(a)codeweavers.com> wrote:
On Fri, Aug 20, 2021 at 11:17:00AM -0400, Dean Greer wrote:
iPhone correcting non typos sign…
On macOS by default libraries should check within there own directory then checkin other default paths, when additional paths are added those will be checked before standard locations like /usr/local/lib and /usr/lib etc
I'm not sure this is correct, we definitely need the @loader_path/ prefix: setting LC_LOAD_DYLIB simply to ntdll.so results in the library failing to load.
Huw.