[PATCH 4/7] Set the objdump default to "objdump" in win-ldd.pl

Thiago Macieira thiago at macieira.org
Fri Oct 11 11:05:40 UTC 2013


The environment variable is to be used if the caller knows that the
default objdump can't parse Windows DLL files (COFF-PE). On Fedora,
Debian, and OpenSUSE, the default objdump can, and obviously the
native one on Windows can too.

Signed-off-by: Thiago Macieira <thiago at macieira.org>
---
 scripts/win-ldd.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/win-ldd.pl b/scripts/win-ldd.pl
index 6ca97b7..4144d79 100644
--- a/scripts/win-ldd.pl
+++ b/scripts/win-ldd.pl
@@ -1,7 +1,7 @@
 #!perl
 use strict;
 my %deploy;
-my $objdump = $ENV{objdump} ? $ENV{objdump} : "i686-w64-mingw32-objdump";
+my $objdump = $ENV{objdump} ? $ENV{objdump} : "objdump";
 my @searchdirs = split(/:/, $ENV{PATH});
 
 sub addDependenciesFor($) {
-- 
1.7.11.7



More information about the subsurface mailing list