summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/smb_build/makefile.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 2dd1a9d7b3..1829c256b3 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -352,7 +352,11 @@ bin/$ctx->{NAME}_init_module.c:
\@echo Creating \$\@
\@echo \"#include \\\"includes.h\\\"\" > \$\@
\@echo \"$proto_fn;\" >> \$\@
- \@echo -e \"_PUBLIC_ $init_fn \\n{\\n\\treturn $ctx->{INIT_FUNCTION}();\\n}\\n\" >> \$\@
+ \@echo \"_PUBLIC_ $init_fn\" >> \$\@
+ \@echo \"{\" >> \$\@
+ \@echo \" return $ctx->{INIT_FUNCTION}();\" >> \$\@
+ \@echo \"}\" >> \$\@
+ \@echo \"\" >> \$\@
__EOD__
);
$init_obj = "bin/$ctx->{NAME}_init_module.o";