s4: Build more python convenience files as subsystems rather than as python modules.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 16 Jun 2010 18:15:19 +0000 (20:15 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 18 Jun 2010 21:51:40 +0000 (23:51 +0200)
source4/param/wscript_build
source4/scripting/python/wscript_build

index 47d82f73ea51bed408613fbbf7fdb5cd19f09699..25efaba06fd14677d2556b612c1a4c72af526326 100644 (file)
@@ -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
        )
 
index af3c6ed9177f65285b6c54c7e026a82392b34b0a..445012f3af9d6f53d5a589d7d2a7292b375927e7 100644 (file)
@@ -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,
                  )