summaryrefslogtreecommitdiffstats
path: root/scripts/win-ldd.pl
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2013-10-11 11:05:40 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-11 12:05:37 -0700
commit2a871fc3e4fdd7fd06193ffbe6c9a80310f35e07 (patch)
treea8bed1c7db7b8ef8798f24fb242e3c41889431c2 /scripts/win-ldd.pl
parentfa532f0f28e250de904ffe329bb44a6260a529cf (diff)
downloadsubsurface-2a871fc3e4fdd7fd06193ffbe6c9a80310f35e07.tar.gz
Set the objdump default to "objdump" in win-ldd.pl
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@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/win-ldd.pl')
-rw-r--r--scripts/win-ldd.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/win-ldd.pl b/scripts/win-ldd.pl
index 6ca97b74a..4144d792d 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($) {