summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/makefile.pl')
-rw-r--r--source4/build/smb_build/makefile.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/makefile.pl b/source4/build/smb_build/makefile.pl
index 39f7ec8572..97ae7eb211 100644
--- a/source4/build/smb_build/makefile.pl
+++ b/source4/build/smb_build/makefile.pl
@@ -121,7 +121,7 @@ sub _prepare_IDL($)
$output = "
idl_full: build/pidl/idl.pm
- CPP=\"\@CPP\@\" script/build_idl.sh FULL
+ CPP=\"\@CPP\@\" PERL=\"\$(PERL)\" script/build_idl.sh FULL
idl: build/pidl/idl.pm
\@CPP=\"\@CPP\@\" script/build_idl.sh
@@ -583,7 +583,7 @@ delheaders: pch_clean
-rm -f \$(builddir)/include/proto.h \$(builddir)/include/build_env.h:
include/proto.h:
- \@cd \$(srcdir) && \$(SHELL) script/mkproto.sh \$(PERL) \\
+ \@cd \$(srcdir) && \$(SHELL) script/mkproto.sh \"\$(PERL)\" \\
-h _PROTO_H_ \$(builddir)/include/proto.h \\
\$(PROTO_OBJS)