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

Huw Davies huw at codeweavers.com
Fri Aug 20 10:01:05 CDT 2021


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.



More information about the wine-devel mailing list