diff --git a/configure b/configure index dbc20153ad019d7ee15bcfddb904b592b4d53758..befa1079c7d2684840648ad2e282c149f5f7ed2b 100755 --- a/configure +++ b/configure @@ -2888,7 +2888,7 @@ case $target_os in SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)' SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)' dlltool="${cross_prefix}dlltool" - if check_cmd lib.exe; then + if check_cmd lib.exe -list; then SLIB_EXTRA_CMD='-lib.exe /machine:$(LIBTARGET) /def:$$(@:$(SLIBSUF)=.def) /out:$(SUBDIR)$(SLIBNAME:$(SLIBSUF)=.lib)' if enabled x86_64; then LIBTARGET=x64