summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/wafsamba.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 194aa58b25..6cdcc35dd4 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -221,6 +221,7 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
includes='',
public_headers=None,
cflags='',
+ cflags_end=None,
group='main',
config_option=None,
init_function_sentinal=None,
@@ -269,6 +270,9 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
samba_subsystem= subsystem_name
)
+ if cflags_end is not None:
+ t.samba_cflags.extend(TO_LIST(cflags_end))
+
if heimdal_autoproto is not None:
bld.HEIMDAL_AUTOPROTO(heimdal_autoproto, source, options=heimdal_autoproto_options)
if heimdal_autoproto_private is not None: