summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/makefile.pl4
-rwxr-xr-xsource4/script/build_idl.sh4
2 files changed, 4 insertions, 4 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)
diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh
index a51a487612..ec67c0aec0 100755
--- a/source4/script/build_idl.sh
+++ b/source4/script/build_idl.sh
@@ -4,8 +4,8 @@ FULLBUILD=$1
[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
-PIDL="./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server"
-TABLES="./build/pidl/tables.pl --output librpc/gen_ndr/tables"
+PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server"
+TABLES="$PERL ./build/pidl/tables.pl --output librpc/gen_ndr/tables"
if [ x$FULLBUILD = xFULL ]; then
echo Rebuilding all idl files in librpc/idl