1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

r13967: change the standard visibility to "default" public again

for modules, libraries and subsystems

metze
This commit is contained in:
Stefan Metzmacher 2006-03-07 17:15:18 +00:00 committed by Gerald (Jerry) Carter
parent 2db081fd70
commit 2d546c3280
4 changed files with 7 additions and 4 deletions

View File

@ -137,7 +137,6 @@ if test -n "$VISIBILITY_CFLAGS"; then
visibility_attribute=yes
],[
AC_MSG_RESULT(no)
VISIBILITY_CFLAGS=""
])
CFLAGS="$OLD_CFLAGS"
fi

View File

@ -160,7 +160,11 @@ sub check($$$$$)
}
unless (defined($part->{STANDARD_VISIBILITY})) {
$part->{STANDARD_VISIBILITY} = "hidden";
if ($part->{TYPE} eq "BINARY") {
$part->{STANDARD_VISIBILITY} = "hidden";
} else {
$part->{STANDARD_VISIBILITY} = "default";
}
}
unless (defined($part->{EXTRA_CFLAGS})) {

View File

@ -111,7 +111,7 @@ sub create_output($$)
$part->{OUTPUT_TYPE} = "OBJLIST";
}
if (($part->{STANDARD_VISIBILITY} ne "hidden") and
if (($part->{STANDARD_VISIBILITY} ne "default") and
($config->{visibility_attribute} eq "yes")) {
$part->{EXTRA_CFLAGS} .= " -fvisibility=$part->{STANDARD_VISIBILITY}";
}

View File

@ -52,7 +52,7 @@ AC_ARG_ENABLE(dso,
#################################################
# add *_CFLAGS only for the real build
CFLAGS="${CFLAGS} ${VISIBILITY_CFLAGS} ${DEVELOPER_CFLAGS}"
CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}"
#################################################
# final configure stuff