summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/input.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm
index 0499d62565..8796441a22 100644
--- a/source4/build/smb_build/input.pm
+++ b/source4/build/smb_build/input.pm
@@ -148,7 +148,11 @@ sub check($$$$$)
foreach my $part (values %$INPUT) {
unless(defined($part->{NOPROTO})) {
- $part->{NOPROTO} = "NO";
+ if ($part->{TYPE} eq "MODULE" or $part->{TYPE} eq "BINARY") {
+ $part->{NOPROTO} = "YES";
+ } else {
+ $part->{NOPROTO} = "NO";
+ }
}
if (defined($part->{PRIVATE_PROTO_HEADER})) {