From a6cee50fa206466f7a5fe8a46f87561a403ff52f Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes <h.leppkes@gmail.com> Date: Mon, 6 Feb 2017 19:45:54 +0100 Subject: [PATCH] configure: use dashes instead of slashes in lib.exe invocation This avoids issues with wrong parameter translation by msys on some systems, and the Windows SDK tools accept both forms equally. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 231cc3eca71..27555764957 100755 --- a/configure +++ b/configure @@ -4804,7 +4804,7 @@ case $target_os in SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)' dlltool="${cross_prefix}dlltool" if check_cmd lib.exe -list; then - SLIB_EXTRA_CMD=-'sed -e "s/ @[^ ]*//" $$(@:$(SLIBSUF)=.orig.def) > $$(@:$(SLIBSUF)=.def); lib.exe /nologo /machine:$(LIBTARGET) /def:$$(@:$(SLIBSUF)=.def) /out:$(SUBDIR)$(SLIBNAME:$(SLIBSUF)=.lib)' + SLIB_EXTRA_CMD=-'sed -e "s/ @[^ ]*//" $$(@:$(SLIBSUF)=.orig.def) > $$(@:$(SLIBSUF)=.def); lib.exe -nologo -machine:$(LIBTARGET) -def:$$(@:$(SLIBSUF)=.def) -out:$(SUBDIR)$(SLIBNAME:$(SLIBSUF)=.lib)' if enabled x86_64; then LIBTARGET=x64 fi -- GitLab