summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-18 22:55:16 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-18 22:55:16 +1000
commit3ca5fd8e030c485e2b1df1bac9f4cd7fcd4041ef (patch)
tree5a59922c32f8efcaa4d2d0c5a4534365785214ae /buildtools
parent211bf1ea170966eb283e45339806ac45aec44d58 (diff)
downloadsamba-3ca5fd8e030c485e2b1df1bac9f4cd7fcd4041ef.tar.gz
samba-3ca5fd8e030c485e2b1df1bac9f4cd7fcd4041ef.tar.bz2
samba-3ca5fd8e030c485e2b1df1bac9f4cd7fcd4041ef.zip
build: cope with perl not being in /usr/bin/perl
This should fixed the pidl build on SerNet-NetBSD5
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_pidl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_pidl.py b/buildtools/wafsamba/samba_pidl.py
index 0b149cc252..00098dec05 100644
--- a/buildtools/wafsamba/samba_pidl.py
+++ b/buildtools/wafsamba/samba_pidl.py
@@ -56,7 +56,7 @@ def SAMBA_PIDL(bld, pname, source,
pidl_src_nodes = bld.pidl_files_cache
# the cd .. is needed because pidl currently is sensitive to the directory it is run in
- t = bld(rule='cd .. && ${PIDL} --quiet ${OPTIONS} --outputdir ${OUTPUTDIR} -- ${SRC[0].abspath(env)}',
+ t = bld(rule='cd .. && ${PERL} ${PIDL} --quiet ${OPTIONS} --outputdir ${OUTPUTDIR} -- ${SRC[0].abspath(env)}',
ext_out = '.c',
before = 'cc',
on_results = True,