diff --git a/lib/param/wscript_build b/lib/param/wscript_build index e5847b95606..1b26c5b141f 100644 --- a/lib/param/wscript_build +++ b/lib/param/wscript_build @@ -4,7 +4,7 @@ bld.SAMBA_GENERATOR('param_functions.c', source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml', target='param_functions.c', group='build_source', - rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT}') + rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=FUNCTIONS') bld.SAMBA_GENERATOR('param_local_h', source= '../../script/mkparamdefs.pl loadparm.c param_functions.c ',