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 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.