summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/smb_build/output.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm
index 5bdb4a417a..92531835fa 100644
--- a/source4/build/smb_build/output.pm
+++ b/source4/build/smb_build/output.pm
@@ -133,7 +133,7 @@ sub create_output($$)
next if $elem == $part;
push(@{$part->{PUBLIC_CFLAGS}}, @{$elem->{CPPFLAGS}}) if (defined(@{$elem->{CPPFLAGS}}))
- and ($#{$elem->{CPPFLAGS}} > 0);
+ and ($#{$elem->{CPPFLAGS}} >= 0);
next if not defined($elem->{CFLAGS});
next if $elem->{CFLAGS} eq "";