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

Alexandre Julliard julliard at winehq.org
Mon Aug 23 16:24:13 CDT 2021


Module: wine
Branch: master
Commit: 691bfa262824b5244de2201ec428d0c91e2ddb6d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=691bfa262824b5244de2201ec428d0c91e2ddb6d

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Aug 23 07:30:11 2021 +0100

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

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/winewrapper | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/winewrapper b/tools/winewrapper
index 2206d7c4446..93d44bcd06c 100755
--- a/tools/winewrapper
+++ b/tools/winewrapper
@@ -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




More information about the wine-cvs mailing list