mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
make_specfiles: Support a magic comment to prevent forwarding an entry point.
This commit is contained in:
parent
f127a2c075
commit
c0ac16403f
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ sub update_spec_file($)
|
||||||
|
|
||||||
my %parent = %{$funcs{$func}};
|
my %parent = %{$funcs{$func}};
|
||||||
goto done if $parent{spec} eq $descr{spec}; # the definition is in this spec file
|
goto done if $parent{spec} eq $descr{spec}; # the definition is in this spec file
|
||||||
|
goto done if $descr{comment} && $descr{comment} =~ /don't forward/;
|
||||||
if ($descr{callconv} ne "stub" && $descr{target} !~ /\./ && !$commented_out)
|
if ($descr{callconv} ne "stub" && $descr{target} !~ /\./ && !$commented_out)
|
||||||
{
|
{
|
||||||
printf "%s:%u: note: %s already defined in %s\n", $file, $., $func, $parent{spec} if $show_duplicates;
|
printf "%s:%u: note: %s already defined in %s\n", $file, $., $func, $parent{spec} if $show_duplicates;
|
||||||
|
|
Loading…
Reference in a new issue