winemaker: Always use parent project for project files.
This commit is contained in:
parent
07203fa465
commit
2c3121d533
|
@ -562,15 +562,7 @@ sub source_scan_project_file($$$)
|
||||||
$path.="/";
|
$path.="/";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (defined $opt_single_target or $is_sub_project == 0) {
|
$project=$parent_project;
|
||||||
# Either there is a single target and thus a single project,
|
|
||||||
# or we are a single project-file for which a project
|
|
||||||
# already exists
|
|
||||||
$project=$parent_project;
|
|
||||||
} else {
|
|
||||||
$project=[];
|
|
||||||
project_init($project, $path, \@global_settings);
|
|
||||||
}
|
|
||||||
my $project_settings=@$project[$P_SETTINGS];
|
my $project_settings=@$project[$P_SETTINGS];
|
||||||
|
|
||||||
if ($filename =~ /.dsp$/i) {
|
if ($filename =~ /.dsp$/i) {
|
||||||
|
|
Loading…
Reference in New Issue