summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-07 10:20:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:23 -0500
commit0d1e034b01762587ea363fe9f764b8a9b5c19569 (patch)
tree9383a409b8fc6058c6d53926fa8e064b101a7d3e /source4/build
parent6b171e5a91c23e4f633aff561f15dd2fc2726c8f (diff)
downloadsamba-0d1e034b01762587ea363fe9f764b8a9b5c19569.tar.gz
samba-0d1e034b01762587ea363fe9f764b8a9b5c19569.tar.bz2
samba-0d1e034b01762587ea363fe9f764b8a9b5c19569.zip
r13919: for us the standard for the visibility is "hidden"
and "default" means public metze (This used to be commit ab553c296f333f91d1e5fc50be827da235e33248)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/input.pm2
-rw-r--r--source4/build/smb_build/output.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm
index 8796441a22..08fda140c1 100644
--- a/source4/build/smb_build/input.pm
+++ b/source4/build/smb_build/input.pm
@@ -160,7 +160,7 @@ sub check($$$$$)
}
unless (defined($part->{DEFAULT_VISIBILITY})) {
- $part->{DEFAULT_VISIBILITY} = "default";
+ $part->{DEFAULT_VISIBILITY} = "hidden";
}
unless (defined($part->{EXTRA_CFLAGS})) {
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm
index bd2b3eeca9..59b4b05194 100644
--- a/source4/build/smb_build/output.pm
+++ b/source4/build/smb_build/output.pm
@@ -111,7 +111,7 @@ sub create_output($$)
$part->{OUTPUT_TYPE} = "OBJLIST";
}
- if (($part->{DEFAULT_VISIBILITY} ne "default") and
+ if (($part->{DEFAULT_VISIBILITY} ne "hidden") and
($config->{visibility_attribute} eq "yes")) {
$part->{EXTRA_CFLAGS} .= " -fvisibility=$part->{DEFAULT_VISIBILITY}";
}