winewrapper: Add dlls/ntdll to the library path so macOS can find ntdll.so.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2021-08-23 07:30:11 +01:00 committed by Alexandre Julliard
parent 9af226c826
commit 691bfa2628
1 changed files with 2 additions and 2 deletions

View File

@ -69,9 +69,9 @@ if [ "`uname -s`" = "Darwin" ]
then
if [ -n "$DYLD_LIBRARY_PATH" ]
then
DYLD_LIBRARY_PATH="$topdir/libs/wine:$DYLD_LIBRARY_PATH"
DYLD_LIBRARY_PATH="$topdir/libs/wine:$topdir/dlls/ntdll:$DYLD_LIBRARY_PATH"
else
DYLD_LIBRARY_PATH="$topdir/libs/wine"
DYLD_LIBRARY_PATH="$topdir/libs/wine:$topdir/dlls/ntdll"
fi
export DYLD_LIBRARY_PATH
else