Create empty files for each DLL

Mike Hearn mike at navi.cx
Sun May 8 06:54:51 CDT 2005


I have a vague nagging feeling I wrote this patch before, but I don't remember.

ChangeLog:
Mike Hearn <mike at navi.cx>
Create empty DLL files to fool some installers


Index: tools/wineprefixcreate.in
===================================================================
RCS file: /home/wine/wine/tools/wineprefixcreate.in,v
retrieving revision 1.9
diff -u -p -d -r1.9 wineprefixcreate.in
--- tools/wineprefixcreate.in	20 Apr 2005 14:26:33 -0000	1.9
+++ tools/wineprefixcreate.in	8 May 2005 11:53:01 -0000
@@ -175,6 +175,13 @@ link_app winhelp      "$CROOT/windows/wi
 link_app winhelp      "$CROOT/windows/winhlp32.exe"
 link_app winebrowser  "$CROOT/windows/winebrowser.exe"
 
+# Create empty DLL files to fool some installers
+
+for d in "$dlldir"/*.{dll,drv}.so;
+do
+    touch "$CROOT/windows/system/`basename ${d/.so/}`"
+done
+
 # Copy the .inf script and run it
 
 cp "$datadir/wine.inf" "$CROOT/windows/inf/wine.inf"



More information about the wine-patches mailing list