summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/param/wscript_build10
-rw-r--r--source4/scripting/python/wscript_build5
2 files changed, 9 insertions, 6 deletions
diff --git a/source4/param/wscript_build b/source4/param/wscript_build
index 47d82f73ea..25efaba06f 100644
--- a/source4/param/wscript_build
+++ b/source4/param/wscript_build
@@ -10,9 +10,10 @@ bld.SAMBA_LIBRARY('LIBSAMBA-HOSTCONFIG',
)
-bld.SAMBA_PYTHON('PROVISION',
+bld.SAMBA_SUBSYSTEM('PROVISION',
source='provision.c pyparam.c',
- deps='LIBPYTHON pyparam_util ldb'
+ deps='LIBPYTHON pyparam_util ldb',
+ needs_python=True,
)
@@ -52,8 +53,9 @@ bld.SAMBA_PYTHON('param',
)
-bld.SAMBA_PYTHON('pyparam_util',
+bld.SAMBA_SUBSYSTEM('pyparam_util',
source='pyparam_util.c',
- deps='LIBPYTHON'
+ deps='LIBPYTHON',
+ needs_python=True
)
diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build
index af3c6ed917..445012f3af 100644
--- a/source4/scripting/python/wscript_build
+++ b/source4/scripting/python/wscript_build
@@ -8,9 +8,10 @@ bld.SAMBA_PYTHON('LIBPYTHON',
)
-bld.SAMBA_PYTHON('PYTALLOC',
+bld.SAMBA_SUBSYSTEM('PYTALLOC',
source='../../../lib/talloc/pytalloc.c',
- public_deps='EXT_LIB_PYTHON talloc'
+ public_deps='EXT_LIB_PYTHON talloc',
+ needs_python=True,
)