diff mbox

[FFmpeg-devel,1/2] configure: add nologo switch to invocation of lib.exe

Message ID 20170203084154.9612-1-h.leppkes@gmail.com
State Accepted
Commit 647af1a0dd2e1ea880790df0c3047cb44c3cd53b
Headers show

Commit Message

Hendrik Leppkes Feb. 3, 2017, 8:41 a.m. UTC
This suppresses the startup banner, which is consistent with all other calls
to the Windows SDK binaries.
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Carl Eugen Hoyos Feb. 3, 2017, 1:44 p.m. UTC | #1
2017-02-03 9:41 GMT+01:00 Hendrik Leppkes <h.leppkes@gmail.com>:
> This suppresses the startup banner, which is consistent with all other calls
> to the Windows SDK binaries.

>          if check_cmd lib.exe -list; then
> -            SLIB_EXTRA_CMD=-'sed -e "s/ @[^ ]*//" $$(@:$(SLIBSUF)=.orig.def) > $$(@:$(SLIBSUF)=.def); lib.exe /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)'

Please commit such patches directly.

Carl Eugen
diff mbox

Patch

diff --git a/configure b/configure
index b22c8b3389..d3d652f0f4 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 /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