[PATCH v3 2/4] gdi32: change setupapi to IMPORTS from DELAYIMPORTS

Jordan Coppard jordan at niau.io
Tue Jul 28 10:32:49 CDT 2020


Using DELAYIMPORTS is breaking startup of old MapleStory clients using
GameGuard. After discussion in #winehackers IRC, it was remarked that
there is no good reason to keep setupapi under DELAYIMPORTS, thus I have
moved all occurrences of it to IMPORTS instead which allows said old
MapleStory clients to open successfully.

Signed-off-by: Jordan Coppard <jordan at niau.io>
---
 dlls/gdi32/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/Makefile.in b/dlls/gdi32/Makefile.in
index 32b2e6959c..5f34a56478 100644
--- a/dlls/gdi32/Makefile.in
+++ b/dlls/gdi32/Makefile.in
@@ -1,10 +1,10 @@
 EXTRADEFS = -D_GDI32_
 MODULE    = gdi32.dll
 IMPORTLIB = gdi32
-IMPORTS   = advapi32
+IMPORTS   = advapi32 setupapi
 EXTRAINCL = $(FREETYPE_CFLAGS) $(FONTCONFIG_CFLAGS)
 EXTRALIBS = $(CARBON_LIBS) $(APPKIT_LIBS)
-DELAYIMPORTS = usp10 setupapi
+DELAYIMPORTS = usp10
 
 C_SRCS = \
 	bidi.c \
-- 
2.27.0




More information about the wine-devel mailing list