build: allow adding cflags to end of python module build command
authorUri Simchoni <uri@samba.org>
Sun, 19 Nov 2017 11:32:16 +0000 (11:32 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Nov 2017 09:20:20 +0000 (10:20 +0100)
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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,