errors: pull out code into common file
[samba.git] / libcli / util / wscript_build
index bc14b0bbf4951e61b9777c71204d704bf8ffe34d..00425478e8f2931042cffe2cafcf9927f98c2f9e 100644 (file)
@@ -13,7 +13,7 @@ bld.SAMBA_LIBRARY('samba-errors',
                   )
 
 bld.SAMBA_GENERATOR('ntstatus_generated',
-                    source='../../source4/scripting/bin/gen_ntstatus.py ntstatus_err_table.txt',
+                    source='../../source4/scripting/bin/gen_ntstatus.py ntstatus_err_table.txt ../../source4/scripting/bin/gen_error_common.py',
                     target='ntstatus_gen.h nterr_gen.c py_ntstatus.c',
                     group='build_source',
                     rule='${PYTHON} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${TGT[0].abspath(env)} ${TGT[1].abspath(env)} ${TGT[2].abspath(env)}'