summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-06 22:01:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:21 -0500
commitc389883ba2c93dfc11ac410a952f42f1065057d2 (patch)
tree316742e41486876c9eb2fe021f28a913aca55171 /source4/build/smb_build
parent9862fabead2f82ed0864c5de0dfe4f3bda4db7f5 (diff)
downloadsamba-c389883ba2c93dfc11ac410a952f42f1065057d2.tar.gz
samba-c389883ba2c93dfc11ac410a952f42f1065057d2.tar.bz2
samba-c389883ba2c93dfc11ac410a952f42f1065057d2.zip
r13902: Stricter checking for the -fvisibility flag
Add two more proto headers. (This used to be commit 0c95bf0cd33d8a6c35f692b796d7fbfd98b4d068)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/output.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm
index 6b3753aa9f..bd2b3eeca9 100644
--- a/source4/build/smb_build/output.pm
+++ b/source4/build/smb_build/output.pm
@@ -111,8 +111,8 @@ sub create_output($$)
$part->{OUTPUT_TYPE} = "OBJLIST";
}
- if ($part->{DEFAULT_VISIBILITY} ne "default" and
- $config->{visibility_attribute} eq "yes") {
+ if (($part->{DEFAULT_VISIBILITY} ne "default") and
+ ($config->{visibility_attribute} eq "yes")) {
$part->{EXTRA_CFLAGS} .= " -fvisibility=$part->{DEFAULT_VISIBILITY}";
}