1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

r13919: for us the standard for the visibility is "hidden"

and "default" means public

metze
(This used to be commit ab553c296f333f91d1e5fc50be827da235e33248)
This commit is contained in:
Stefan Metzmacher 2006-03-07 10:20:06 +00:00 committed by Gerald (Jerry) Carter
parent 6b171e5a91
commit 0d1e034b01
2 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ sub check($$$$$)
}
unless (defined($part->{DEFAULT_VISIBILITY})) {
$part->{DEFAULT_VISIBILITY} = "default";
$part->{DEFAULT_VISIBILITY} = "hidden";
}
unless (defined($part->{EXTRA_CFLAGS})) {

View File

@ -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}";
}