summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/main.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-16 16:47:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:31 -0500
commit3709d6b8e33496fee568035b09f49c8ef907a3ef (patch)
tree269f0b5259a3242ec470e0eb0f01c48e8dd980ee /source4/build/smb_build/main.pl
parent187628634f8abd88fa41b72b2dc4956b9293d013 (diff)
downloadsamba-3709d6b8e33496fee568035b09f49c8ef907a3ef.tar.gz
samba-3709d6b8e33496fee568035b09f49c8ef907a3ef.tar.bz2
samba-3709d6b8e33496fee568035b09f49c8ef907a3ef.zip
r14483: Allow subsystems with just a public prototype header, no private ones
(This used to be commit bb6541126c94b33e4a24d9f036655b55b704923b)
Diffstat (limited to 'source4/build/smb_build/main.pl')
-rw-r--r--source4/build/smb_build/main.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl
index 733b447e40..3443dbc46b 100644
--- a/source4/build/smb_build/main.pl
+++ b/source4/build/smb_build/main.pl
@@ -72,7 +72,8 @@ foreach my $key (values %$OUTPUT) {
$mkenv->Binary($key) if $key->{OUTPUT_TYPE} eq "BINARY";
$mkenv->Manpage($key) if defined($key->{MANPAGE});
$mkenv->Header($key) if defined($key->{PUBLIC_HEADERS});
- $mkenv->ProtoHeader($key) if defined($key->{PRIVATE_PROTO_HEADER});
+ $mkenv->ProtoHeader($key) if defined($key->{PRIVATE_PROTO_HEADER}) or
+ defined($key->{PUBLIC_PROTO_HEADER});
# $mkenv->DependencyInfo($key) if $config::config{developer} eq "yes";
}