build: Add space before -D option
authorAndrew Bartlett <abartlet@samba.org>
Tue, 5 Jan 2016 23:28:44 +0000 (12:28 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Jan 2016 01:36:47 +0000 (02:36 +0100)
This ensures that it is not concatonated with the previous option

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jan  8 02:36:47 CET 2016 on sn-devel-144

buildtools/wafsamba/samba_python.py

index 8ce1b43b61cce396d87709e4ea1475cf98defb9d..057a0176e155d3ba3052a85741254cecaeaeae46 100644 (file)
@@ -97,7 +97,7 @@ def SAMBA_PYTHON(bld, name,
     # when we support static python modules we'll need to gather
     # the list from all the SAMBA_PYTHON() targets
     if init_function_sentinel is not None:
-        cflags += '-DSTATIC_LIBPYTHON_MODULES=%s' % init_function_sentinel
+        cflags += ' -DSTATIC_LIBPYTHON_MODULES=%s' % init_function_sentinel
 
     # From https://docs.python.org/2/c-api/arg.html:
     # Starting with Python 2.5 the type of the length argument to