build: allow adding cflags to end of python module build command
[samba.git] / buildtools / wafsamba / samba_python.py
index f97439c945b4e986bacef39387cf4168d419e158..cb99fe9f4cc6abe8bc7a5ad208aa346b2717d208 100644 (file)
@@ -109,6 +109,7 @@ def SAMBA_PYTHON(bld, name,
                  public_deps='',
                  realname=None,
                  cflags='',
+                 cflags_end=None,
                  includes='',
                  init_function_sentinel=None,
                  local_include=True,
@@ -154,6 +155,7 @@ def SAMBA_PYTHON(bld, name,
                       public_deps=public_deps,
                       includes=includes,
                       cflags=cflags,
+                      cflags_end=cflags_end,
                       local_include=local_include,
                       vars=vars,
                       realname=realname,