From c9290a86dd0bddba23ec43527ab52503b962963d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 21 Feb 2008 01:04:18 +0100 Subject: Never assume -fvisibility=hidden for modules unless explicitly specified (consistent with what we do for other subsystems/libraries). (This used to be commit e8751e513d5f9b30e518104bbc23bcbd203818a6) --- source4/build/smb_build/input.pm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source4') diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index da90e9db48..8c9a6efacc 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} = []; } -- cgit