diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-03-07 10:30:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:24 -0500 |
commit | 112bb4d220c5dcd0760b3ac1885fec9de27af91b (patch) | |
tree | 4ef0062185370f308ba9b0f5fddcdfa9563f544a /source4/build/smb_build/output.pm | |
parent | 5a4f87fe121d07eaaa9c4934f4cba5c37b68f66e (diff) | |
download | samba-112bb4d220c5dcd0760b3ac1885fec9de27af91b.tar.gz samba-112bb4d220c5dcd0760b3ac1885fec9de27af91b.tar.bz2 samba-112bb4d220c5dcd0760b3ac1885fec9de27af91b.zip |
r13921: rename DEFAULT_VISIBILITY -> STANDARD_VISIBILITY
the standard is "hidden" and not "default", I hope this
name makes a bit less confusing
metze
(This used to be commit 3e27534ad6d249c1d69f326dac9cc250868b0534)
Diffstat (limited to 'source4/build/smb_build/output.pm')
-rw-r--r-- | source4/build/smb_build/output.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm index 59b4b05194..b0872db457 100644 --- a/source4/build/smb_build/output.pm +++ b/source4/build/smb_build/output.pm @@ -111,9 +111,9 @@ sub create_output($$) $part->{OUTPUT_TYPE} = "OBJLIST"; } - if (($part->{DEFAULT_VISIBILITY} ne "hidden") and + if (($part->{STANDARD_VISIBILITY} ne "hidden") and ($config->{visibility_attribute} eq "yes")) { - $part->{EXTRA_CFLAGS} .= " -fvisibility=$part->{DEFAULT_VISIBILITY}"; + $part->{EXTRA_CFLAGS} .= " -fvisibility=$part->{STANDARD_VISIBILITY}"; } generate_binary($part) if $part->{OUTPUT_TYPE} eq "BINARY"; |