diff options
author | Jay Berkenbilt <ejb@ql.org> | 2012-06-21 20:06:54 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2012-06-22 03:22:35 +0200 |
commit | c833295a3948e914fa23042896f19f35ddd8d927 (patch) | |
tree | d2c135487757ad8ad917242e8e6c42097a016fd4 /copy_dlls | |
parent | 85d9e7dfed31cf4b9307fad920422a7b433fc35c (diff) | |
download | qpdf-c833295a3948e914fa23042896f19f35ddd8d927.tar.zst |
Adjust Windows built to support 32-bit and 64-bit builds
Update the build to support new external-libs layout, and autoconf
options to specify windows word size. Split make_windows_releases
into multiple scripts.
Diffstat (limited to 'copy_dlls')
-rwxr-xr-x | copy_dlls | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -7,19 +7,19 @@ use File::Basename; my $whoami = basename($0); -usage() unless @ARGV == 2; -my ($file, $destdir) = @ARGV; +usage() unless @ARGV == 3; +my ($file, $destdir, $objdump) = @ARGV; my $filedir = dirname($file); my %dlls = (); -open(O, "objdump -p $file|") or die "$whoami: can't run objdump\n"; +open(O, "$objdump -p $file|") or die "$whoami: can't run objdump\n"; while (<O>) { if (m/^\s+DLL Name:\s+(.+\.dll)/i) { my $dll = $1; $dll =~ tr/A-Z/a-z/; - next if $dll =~ m/^(kernel32|msvcrt)\.dll$/; + next if $dll =~ m/^(kernel32|user32|msvcrt)\.dll$/; $dlls{$dll} = 1; } } |