diff options
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r-- | source4/build/smb_build/input.pm | 2 | ||||
-rw-r--r-- | source4/build/smb_build/output.pm | 2 |
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}"; } |