build: more dependencies on /usr/bin/perl -> ${PERL}
[samba.git] / buildtools / wafsamba / samba_autoproto.py
index edabc7e44cad963a0f6e7fbfc04f9fbaea1bfb5f..b9c6380570383eae4a22698343030199c6ce421e 100644 (file)
@@ -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