From 0d1e034b01762587ea363fe9f764b8a9b5c19569 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 7 Mar 2006 10:20:06 +0000 Subject: r13919: for us the standard for the visibility is "hidden" and "default" means public metze (This used to be commit ab553c296f333f91d1e5fc50be827da235e33248) --- source4/build/smb_build/input.pm | 2 +- source4/build/smb_build/output.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/build') 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}"; } -- cgit