From 544c5026da6503a621b754e236d7c8f21c7b19af Mon Sep 17 00:00:00 2001 From: Tiagoquix <30274161+Tiagoquix@users.noreply.github.com> Date: Tue, 17 Dec 2024 18:31:58 -0300 Subject: [PATCH] Prefer native versions of various DLLs --- dlls/d3d10/Makefile.in | 1 + dlls/d3d11/Makefile.in | 1 + dlls/d3d12/Makefile.in | 1 + dlls/d3d8/Makefile.in | 1 + dlls/d3d9/Makefile.in | 1 + dlls/ddraw/Makefile.in | 1 + dlls/dinput/Makefile.in | 1 + dlls/dsound/Makefile.in | 1 + dlls/msacm32/Makefile.in | 1 + dlls/msvfw32/Makefile.in | 1 + dlls/version/Makefile.in | 1 + dlls/winhttp/Makefile.in | 1 + dlls/wininet/Makefile.in | 1 + dlls/winmm/Makefile.in | 1 + 14 files changed, 14 insertions(+) diff --git a/dlls/d3d10/Makefile.in b/dlls/d3d10/Makefile.in index b942e27f991..d801b636339 100644 --- a/dlls/d3d10/Makefile.in +++ b/dlls/d3d10/Makefile.in @@ -2,6 +2,7 @@ MODULE = d3d10.dll IMPORTLIB = d3d10 IMPORTS = uuid d3d10core d3dcompiler dxgi wined3d EXTRADEFS = -DD3D_COMPILER_VERSION=0 +EXTRADLLFLAGS = -Wb,--prefer-native PARENTSRC = ../d3dcompiler_43 EXTRAINCL = $(VKD3D_PE_CFLAGS) diff --git a/dlls/d3d11/Makefile.in b/dlls/d3d11/Makefile.in index 83f49602a46..0201c1b6ad4 100644 --- a/dlls/d3d11/Makefile.in +++ b/dlls/d3d11/Makefile.in @@ -2,6 +2,7 @@ MODULE = d3d11.dll IMPORTLIB = d3d11 IMPORTS = dxguid uuid dxgi wined3d EXTRAINCL = $(VKD3D_PE_CFLAGS) +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ async.c \ diff --git a/dlls/d3d12/Makefile.in b/dlls/d3d12/Makefile.in index 84b1cbead74..10680fad8ff 100644 --- a/dlls/d3d12/Makefile.in +++ b/dlls/d3d12/Makefile.in @@ -2,6 +2,7 @@ MODULE = d3d12.dll IMPORTLIB = d3d12 IMPORTS = dxgi dxguid wined3d gdi32 user32 uuid win32u EXTRAINCL = $(VKD3D_PE_CFLAGS) +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ d3d12_main.c diff --git a/dlls/d3d8/Makefile.in b/dlls/d3d8/Makefile.in index 5a718b2d22d..282fc86f1a9 100644 --- a/dlls/d3d8/Makefile.in +++ b/dlls/d3d8/Makefile.in @@ -1,6 +1,7 @@ MODULE = d3d8.dll IMPORTLIB = d3d8 IMPORTS = dxguid uuid wined3d +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ buffer.c \ diff --git a/dlls/d3d9/Makefile.in b/dlls/d3d9/Makefile.in index 5a717b11863..3feea5993b3 100644 --- a/dlls/d3d9/Makefile.in +++ b/dlls/d3d9/Makefile.in @@ -1,6 +1,7 @@ MODULE = d3d9.dll IMPORTLIB = d3d9 IMPORTS = dxguid uuid wined3d +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ buffer.c \ diff --git a/dlls/ddraw/Makefile.in b/dlls/ddraw/Makefile.in index e6d6dddddef..75a9d4079ce 100644 --- a/dlls/ddraw/Makefile.in +++ b/dlls/ddraw/Makefile.in @@ -1,6 +1,7 @@ MODULE = ddraw.dll IMPORTLIB = ddraw IMPORTS = dxguid uuid wined3d user32 gdi32 advapi32 +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ clipper.c \ diff --git a/dlls/dinput/Makefile.in b/dlls/dinput/Makefile.in index d4bb1bca2da..53958d98937 100644 --- a/dlls/dinput/Makefile.in +++ b/dlls/dinput/Makefile.in @@ -2,6 +2,7 @@ MODULE = dinput.dll IMPORTLIB = dinput IMPORTS = dinput dxguid uuid comctl32 ole32 user32 advapi32 hid setupapi EXTRADEFS = -DDIRECTINPUT_VERSION=0x0700 +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ ansi.c \ diff --git a/dlls/dsound/Makefile.in b/dlls/dsound/Makefile.in index 13cb6e8b615..349459cbb80 100644 --- a/dlls/dsound/Makefile.in +++ b/dlls/dsound/Makefile.in @@ -1,6 +1,7 @@ MODULE = dsound.dll IMPORTLIB = dsound IMPORTS = dxguid uuid winmm ole32 advapi32 user32 +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ buffer.c \ diff --git a/dlls/msacm32/Makefile.in b/dlls/msacm32/Makefile.in index 8174256c237..ae37f21cba8 100644 --- a/dlls/msacm32/Makefile.in +++ b/dlls/msacm32/Makefile.in @@ -1,6 +1,7 @@ MODULE = msacm32.dll IMPORTLIB = msacm32 IMPORTS = winmm user32 advapi32 +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ driver.c \ diff --git a/dlls/msvfw32/Makefile.in b/dlls/msvfw32/Makefile.in index 50feb8ff554..1f0ebaaef04 100644 --- a/dlls/msvfw32/Makefile.in +++ b/dlls/msvfw32/Makefile.in @@ -1,6 +1,7 @@ MODULE = msvfw32.dll IMPORTLIB = msvfw32 IMPORTS = winmm version comctl32 user32 gdi32 advapi32 +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ drawdib.c \ diff --git a/dlls/version/Makefile.in b/dlls/version/Makefile.in index 3b056243a98..f6ee53d6502 100644 --- a/dlls/version/Makefile.in +++ b/dlls/version/Makefile.in @@ -1,6 +1,7 @@ MODULE = version.dll IMPORTLIB = version IMPORTS = kernelbase +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ version.c \ diff --git a/dlls/winhttp/Makefile.in b/dlls/winhttp/Makefile.in index 995587aa37f..8b34cd8d300 100644 --- a/dlls/winhttp/Makefile.in +++ b/dlls/winhttp/Makefile.in @@ -3,6 +3,7 @@ MODULE = winhttp.dll IMPORTLIB = winhttp IMPORTS = uuid jsproxy user32 advapi32 ws2_32 DELAYIMPORTS = oleaut32 crypt32 secur32 iphlpapi dhcpcsvc +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ cookie.c \ diff --git a/dlls/wininet/Makefile.in b/dlls/wininet/Makefile.in index 57db3794e36..8f4f5dce86a 100644 --- a/dlls/wininet/Makefile.in +++ b/dlls/wininet/Makefile.in @@ -4,6 +4,7 @@ IMPORTLIB = wininet IMPORTS = $(ZLIB_PE_LIBS) mpr shlwapi shell32 user32 ws2_32 advapi32 EXTRAINCL = $(ZLIB_PE_CFLAGS) DELAYIMPORTS = secur32 crypt32 cryptui dhcpcsvc iphlpapi +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ cookie.c \ diff --git a/dlls/winmm/Makefile.in b/dlls/winmm/Makefile.in index 32d7f5d5c0b..14fc779c623 100644 --- a/dlls/winmm/Makefile.in +++ b/dlls/winmm/Makefile.in @@ -3,6 +3,7 @@ MODULE = winmm.dll IMPORTLIB = winmm IMPORTS = uuid user32 advapi32 ole32 msacm32 DELAYIMPORTS = dinput8 +EXTRADLLFLAGS = -Wb,--prefer-native SOURCES = \ driver.c \