summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/config_mk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/config_mk.pm')
-rw-r--r--source4/build/smb_build/config_mk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/build/smb_build/config_mk.pm b/source4/build/smb_build/config_mk.pm
index 7827315541..1475ee09ee 100644
--- a/source4/build/smb_build/config_mk.pm
+++ b/source4/build/smb_build/config_mk.pm
@@ -152,6 +152,7 @@ sub run_config_mk($$$)
# global stuff is considered part of the makefile
if ($section eq "GLOBAL") {
+ if (!$infragment) { $makefile.="\n"; }
$makefile .= $line;
$infragment = 1;
next;