diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-08-05 10:23:50 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-08-05 10:23:50 +0200 |
commit | 2db097ca76cee7c046e84b57e8ae19f60b716e56 (patch) | |
tree | 71e5dfef427c7c04322d1879585b30ac35e598f1 /configure | |
parent | 9e1c55cfdec1e1e46fa39b92ea5c425ba9499c68 (diff) | |
download | ffmpeg-2db097ca76cee7c046e84b57e8ae19f60b716e56.tar.gz |
configure: fix lib.exe check
Running lib.exe without parameters will always result in an error,
and failing the check.
Using the -list paramter results in a success if lib.exe is present.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |