]> git.sesse.net Git - ffmpeg/commitdiff
configure: use dashes instead of slashes in lib.exe invocation
authorHendrik Leppkes <h.leppkes@gmail.com>
Mon, 6 Feb 2017 18:45:54 +0000 (19:45 +0100)
committerHendrik Leppkes <h.leppkes@gmail.com>
Mon, 6 Feb 2017 18:47:20 +0000 (19:47 +0100)
This avoids issues with wrong parameter translation by msys on some systems,
and the Windows SDK tools accept both forms equally.

configure

index 231cc3eca71f4eebe72085746eb5cb825b7cfdc4..27555764957f6a1aea3861f0d00b1c24eac32b0a 100755 (executable)
--- 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