build: cope with perl not being in /usr/bin/perl
authorAndrew Tridgell <tridge@samba.org>
Sun, 18 Apr 2010 12:55:16 +0000 (22:55 +1000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 18 Apr 2010 12:55:16 +0000 (22:55 +1000)
This should fixed the pidl build on SerNet-NetBSD5

buildtools/wafsamba/samba_pidl.py

index 0b149cc252f77cb41e23ba651b4adc2917465397..00098dec05ba68d65cccd315a17160e044e3399c 100644 (file)
@@ -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,