summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-18 22:57:59 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-18 23:08:28 +1000
commit69ce29826cf209d79b4aa63e6d1f30ccf7bfd7ae (patch)
tree76504f14aa3beb51c3975bf21bf636f51249f336 /buildtools
parent3ca5fd8e030c485e2b1df1bac9f4cd7fcd4041ef (diff)
downloadsamba-69ce29826cf209d79b4aa63e6d1f30ccf7bfd7ae.tar.gz
samba-69ce29826cf209d79b4aa63e6d1f30ccf7bfd7ae.tar.bz2
samba-69ce29826cf209d79b4aa63e6d1f30ccf7bfd7ae.zip
build: more dependencies on /usr/bin/perl -> ${PERL}
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_autoproto.py2
-rw-r--r--buildtools/wafsamba/samba_pidl.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_autoproto.py b/buildtools/wafsamba/samba_autoproto.py
index edabc7e44c..b9c6380570 100644
--- a/buildtools/wafsamba/samba_autoproto.py
+++ b/buildtools/wafsamba/samba_autoproto.py
@@ -39,7 +39,7 @@ def SAMBA_AUTOPROTO(bld, header, source):
on_results=True,
ext_out='.c',
before ='cc',
- rule = '${SCRIPT}/mkproto.pl --srcdir=.. --builddir=. --public=/dev/null --private=${TGT} ${SRC}'
+ rule = '${PERL} ${SCRIPT}/mkproto.pl --srcdir=.. --builddir=. --public=/dev/null --private=${TGT} ${SRC}'
)
t.env.SCRIPT = os.path.join(bld.srcnode.abspath(), 'source4/script')
Build.BuildContext.SAMBA_AUTOPROTO = SAMBA_AUTOPROTO
diff --git a/buildtools/wafsamba/samba_pidl.py b/buildtools/wafsamba/samba_pidl.py
index 00098dec05..bd8324f40f 100644
--- a/buildtools/wafsamba/samba_pidl.py
+++ b/buildtools/wafsamba/samba_pidl.py
@@ -125,7 +125,7 @@ def SAMBA_PIDL_TABLES(bld, name, target):
bld.SET_BUILD_GROUP('main')
t = bld(
features = 'collect',
- rule = '${SRC} --output ${TGT} | sed "s|default/||" > ${TGT}',
+ rule = '${PERL} ${SRC} --output ${TGT} | sed "s|default/||" > ${TGT}',
ext_out = '.c',
before = 'cc',
on_results = True,