Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-08-05 12:23:50 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-08-05 12:23:50 +0400
commit2db097ca76cee7c046e84b57e8ae19f60b716e56 (patch)
tree71e5dfef427c7c04322d1879585b30ac35e598f1
parent9e1c55cfdec1e1e46fa39b92ea5c425ba9499c68 (diff)
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.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index dbc20153ad..befa1079c7 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