Never assume -fvisibility=hidden for modules unless explicitly specified (consistent...
authorJelmer Vernooij <jelmer@samba.org>
Thu, 21 Feb 2008 00:04:18 +0000 (01:04 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 21 Feb 2008 00:04:18 +0000 (01:04 +0100)
source/build/smb_build/input.pm

index da90e9db48e95402f162c5278964f4221c86c79a..8c9a6efacc3d7f79bb2ea0f4dccfdbf30a556f3c 100644 (file)
@@ -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} = [];
                }