[PATCH v2 1/4] xinput: change to IMPORTS from DELAYIMPORTS

Zhiyi Zhang zzhang at codeweavers.com
Mon Jul 27 06:36:27 CDT 2020


It's better to state the reason for the changes here even it's already discussed in IRC
for future references.

On 7/27/20 7:22 PM, Jordan Coppard wrote:
> Using DELAYIMPORTS is breaking startup of some applications.
> 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.
>
> Signed-off-by: Jordan Coppard <jordan at niau.io>
>
> ---
> v2: seperate commits to lower scope
> ---
>  dlls/xinput1_1/Makefile.in   | 2 +-
>  dlls/xinput1_2/Makefile.in   | 2 +-
>  dlls/xinput1_3/Makefile.in   | 2 +-
>  dlls/xinput1_4/Makefile.in   | 2 +-
>  dlls/xinput9_1_0/Makefile.in | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/dlls/xinput1_1/Makefile.in b/dlls/xinput1_1/Makefile.in
> index a2b17a248c..c4a0fe4b3a 100644
> --- a/dlls/xinput1_1/Makefile.in
> +++ b/dlls/xinput1_1/Makefile.in
> @@ -1,6 +1,6 @@
>  MODULE    = xinput1_1.dll
>  PARENTSRC = ../xinput1_3
> -DELAYIMPORTS = hid setupapi
> +IMPORTS = hid setupapi
>  
>  EXTRADLLFLAGS = -mno-cygwin
>  
> diff --git a/dlls/xinput1_2/Makefile.in b/dlls/xinput1_2/Makefile.in
> index fd38c6f6cc..9e56513501 100644
> --- a/dlls/xinput1_2/Makefile.in
> +++ b/dlls/xinput1_2/Makefile.in
> @@ -1,6 +1,6 @@
>  MODULE    = xinput1_2.dll
>  PARENTSRC = ../xinput1_3
> -DELAYIMPORTS = hid setupapi
> +IMPORTS = hid setupapi
>  
>  EXTRADLLFLAGS = -mno-cygwin
>  
> diff --git a/dlls/xinput1_3/Makefile.in b/dlls/xinput1_3/Makefile.in
> index 3b4968fb6d..fd4e48b4a8 100644
> --- a/dlls/xinput1_3/Makefile.in
> +++ b/dlls/xinput1_3/Makefile.in
> @@ -1,6 +1,6 @@
>  MODULE    = xinput1_3.dll
>  IMPORTLIB = xinput
> -DELAYIMPORTS = hid setupapi
> +IMPORTS = hid setupapi
>  
>  EXTRADLLFLAGS = -mno-cygwin
>  
> diff --git a/dlls/xinput1_4/Makefile.in b/dlls/xinput1_4/Makefile.in
> index cdf4b4fed0..73ef49dbf5 100644
> --- a/dlls/xinput1_4/Makefile.in
> +++ b/dlls/xinput1_4/Makefile.in
> @@ -1,6 +1,6 @@
>  MODULE    = xinput1_4.dll
>  PARENTSRC = ../xinput1_3
> -DELAYIMPORTS = hid setupapi
> +IMPORTS = hid setupapi
>  
>  EXTRADLLFLAGS = -mno-cygwin
>  
> diff --git a/dlls/xinput9_1_0/Makefile.in b/dlls/xinput9_1_0/Makefile.in
> index dc8739c464..2efe7b31b6 100644
> --- a/dlls/xinput9_1_0/Makefile.in
> +++ b/dlls/xinput9_1_0/Makefile.in
> @@ -1,6 +1,6 @@
>  MODULE    = xinput9_1_0.dll
>  PARENTSRC = ../xinput1_3
> -DELAYIMPORTS = hid setupapi
> +IMPORTS = hid setupapi
>  
>  EXTRADLLFLAGS = -mno-cygwin
>  




More information about the wine-devel mailing list