Kaydet (Commit) a6ec2349 authored tarafından Luboš Luňák's avatar Luboš Luňák

fix windows detection in linkoo

Change-Id: I18d1dbdc9d7ed6027969424a196532084537fe87
üst 1f62a036
...@@ -73,10 +73,6 @@ if ($ENV{'OS'} eq 'MACOSX') { ...@@ -73,10 +73,6 @@ if ($ENV{'OS'} eq 'MACOSX') {
print "FIXME: linkoo currently does not work on Mac OS X\n"; print "FIXME: linkoo currently does not work on Mac OS X\n";
exit(0); exit(0);
} }
if ($TARGET eq 'wntgcci.pro') {
$windows = 1;
$copy = 1;
}
# process options # process options
for my $a (@ARGV) { for my $a (@ARGV) {
...@@ -119,6 +115,10 @@ substr ($OOO_BUILD, 0, 1) eq '/' || die "linkoo requires absolute paths ($OOO_ ...@@ -119,6 +115,10 @@ substr ($OOO_BUILD, 0, 1) eq '/' || die "linkoo requires absolute paths ($OOO_
($TARGET, $LIBVER, $LANG) = sniff_target ($OOO_BUILD); ($TARGET, $LIBVER, $LANG) = sniff_target ($OOO_BUILD);
if ($TARGET =~ /^wntgcci/ || $TARGET =~ /^wntmsci[0-9]+/) {
$windows = 1;
$copy = 1;
}
# setup global variables # setup global variables
my $brand_program_dir = 'program'; my $brand_program_dir = 'program';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment