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

Dean Greer gcenx83 at gmail.com
Fri Aug 20 10:26:35 CDT 2021


Sorry for what’s frankly spam now I wasn’t finished explain.

> So that leaves the installed case.  The simplest approach would be to
change the install-name to @loader_path/module.so and skip rpaths
entirely.  Is there a reason not to do that?

This should be fine going off how macOS usually handles loading libraries.

On Fri, Aug 20, 2021 at 11:01 AM Huw Davies <huw at codeweavers.com> wrote:

> On Fri, Aug 20, 2021 at 10:13:01AM -0400, Dean Greer wrote:
> > This makes sense now thank you, I’d still rather see the -rpath behind
> > something like UNIX_LDFLAGS then it could be used for other -rpath
> > configuration for the Unix.so libraries
> >
> > For the build directory runs wouldn’t it be better to alter the wine
> loader
> > wrapper script.
>
> Right, good idea.  Adding $topdir/dlls/ntdll to DYLD_LIBRARY_PATH in the
> wine script will cover the build directory case.
>
> So that leaves the installed case.  The simplest approach would be to
> change the install-name to @loader_path/module.so and skip rpaths
> entirely.  Is there a reason not to do that?
>
> Huw.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210820/fbaebdc5/attachment-0001.htm>


More information about the wine-devel mailing list