mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Allow cross-building 64 bit binaries for Windows
This also makes sure that we package the Qt5 translations, not the Qt4 translations. There was an odd issue that somehow a 32bit search path ended up being used by win-dll which resulted in the wrong DLLs being packaged. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a104905257
commit
6c15647858
4 changed files with 28 additions and 9 deletions
|
@ -3,7 +3,12 @@ use strict;
|
|||
my %deploy;
|
||||
my $objdump = $ENV{objdump} ? $ENV{objdump} : "objdump";
|
||||
my @searchdirs;
|
||||
my @systemdirs = (qr|^c:/windows|i, qr|^c:/winnt|i, qr|^/c/windows|i, qr|^/c/winnt|);
|
||||
my @systemdirs;
|
||||
if ($ENV{PATH} =~ "x86_64") {
|
||||
@systemdirs = (qr|^c:/windows|i, qr|^c:/winnt|i, qr|^/c/windows|i, qr|^/c/winnt|, qr|^/usr/i686|);
|
||||
} else {
|
||||
@systemdirs = (qr|^c:/windows|i, qr|^c:/winnt|i, qr|^/c/windows|i, qr|^/c/winnt|);
|
||||
}
|
||||
|
||||
sub addDependenciesFor($) {
|
||||
open OBJDUMP, "-|", $objdump, "-p", $_[0] or die;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue