[PATCH] winegcc: Add rpaths to help the macOS loader find ntdll.so.

Dean Greer gcenx83 at gmail.com
Fri Aug 20 10:45:24 CDT 2021


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, at loader_path/ but also allows adding
additional flags as needed.

On Fri, Aug 20, 2021 at 11:40 AM Huw Davies <huw at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210820/f1040d8c/attachment.htm>


More information about the wine-devel mailing list