diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-21 01:04:18 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-21 01:04:18 +0100 |
commit | c9290a86dd0bddba23ec43527ab52503b962963d (patch) | |
tree | 6ed486b0966afba3091e4e2c7bf98055e65b2429 /source4 | |
parent | 910a1cafdf253255510d3aff7cc2385da43331dd (diff) | |
download | samba-c9290a86dd0bddba23ec43527ab52503b962963d.tar.gz samba-c9290a86dd0bddba23ec43527ab52503b962963d.tar.xz samba-c9290a86dd0bddba23ec43527ab52503b962963d.zip |
Never assume -fvisibility=hidden for modules unless explicitly specified (consistent with what we do for other subsystems/libraries).
(This used to be commit e8751e513d5f9b30e518104bbc23bcbd203818a6)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/smb_build/input.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index da90e9db48e..8c9a6efacc3 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -233,14 +233,6 @@ sub check($$$$$) my ($INPUT, $enabled, $subsys_ot, $lib_ot, $module_ot) = @_; foreach my $part (values %$INPUT) { - unless (defined($part->{STANDARD_VISIBILITY})) { - if ($part->{TYPE} eq "MODULE" or $part->{TYPE} eq "BINARY") { - $part->{STANDARD_VISIBILITY} = "hidden"; - } else { - $part->{STANDARD_VISIBILITY} = "default"; - } - } - unless (defined($part->{PUBLIC_HEADERS})) { $part->{PUBLIC_HEADERS} = []; } |