From 4b807a1fc2259fc05d219bce2c06cb6f0f797f2e Mon Sep 17 00:00:00 2001
From: Martin Wilck <Martin.Wilck@fujitsu-siemens.com>
Date: Sun, 14 Apr 2002 19:31:23 +0000
Subject: [PATCH] Fix winemaker-generated references to dlls that have changed
 their names.

---
 tools/winemaker | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index f83ca777434..ed01e1ec439 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -2732,14 +2732,14 @@ then
     WINE_DLL_ROOT="/lib:/lib/dlls:/usr/lib:/usr/lib/dlls:/usr/local/lib:/usr/local/lib/dlls"
   fi
 fi
-AC_PATH_FILE(WINE_DLL_ROOT,[libntdll.so],[
-  AC_MSG_ERROR([Could not find the Wine dlls (libntdll.so)])
+AC_PATH_FILE(WINE_DLL_ROOT,[libntdll.dll.so],[
+  AC_MSG_ERROR([Could not find the Wine dlls (libntdll.dll.so)])
 ],[$WINE_DLL_ROOT])
 
-AC_PATH_LIBRARY(WINE_DLL_ROOT,[-lntdll],[$WINE_LIBRARY_PATH -lwine -lwine_unicode],[
-  AC_MSG_ERROR([Could not link with the Wine dlls (libntdll.so)])
+AC_PATH_LIBRARY(WINE_DLL_ROOT,[-lntdll.dll],[$WINE_LIBRARY_PATH -lwine -lwine_unicode],[
+  AC_MSG_ERROR([Could not link with the Wine dlls (libntdll.dll.so)])
 ],[$WINE_DLL_ROOT])
-WINE_DLL_PATH="-L$WINE_DLL_ROOT"
+WINE_DLL_PATH="-L$WINE_DLL_ROOT/wine"
 
 if test -n "$LD_PATH"
 then
-- 
GitLab