diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/ldb/wscript | 3 | ||||
-rw-r--r-- | source4/lib/policy/wscript_build | 3 | ||||
-rwxr-xr-x | source4/librpc/wscript_build | 2 | ||||
-rw-r--r-- | source4/param/wscript_build | 4 | ||||
-rw-r--r-- | source4/scripting/python/wscript_build | 38 | ||||
-rw-r--r-- | source4/web_server/wscript_build | 23 |
6 files changed, 37 insertions, 36 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index fffd8ce85b7..67b25b4545d 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -107,8 +107,7 @@ def build(bld): else: abi_file = 'ABI/ldb-%s.sigs' % VERSION - bld.SAMBA_SUBSYSTEM('pyldb_util', deps='ldb', - source='pyldb_util.c', pyembed=True) + bld.SAMBA_SUBSYSTEM('pyldb_util', deps='ldb', source='pyldb_util.c', pyext=True) if not bld.CONFIG_SET('USING_SYSTEM_LDB'): modules_dir = bld.EXPAND_VARIABLES('${LDB_MODULESDIR}') diff --git a/source4/lib/policy/wscript_build b/source4/lib/policy/wscript_build index aa7feee8456..3daa91e0073 100644 --- a/source4/lib/policy/wscript_build +++ b/source4/lib/policy/wscript_build @@ -5,7 +5,8 @@ bld.SAMBA_LIBRARY('policy', pc_files='policy.pc', public_deps='ldb LIBSAMBA-NET', public_headers='policy.h', - vnum='0.0.1' + vnum='0.0.1', + pyembed=True ) bld.SAMBA_PYTHON('py_policy', diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build index 617387e8770..665eb1e10e3 100755 --- a/source4/librpc/wscript_build +++ b/source4/librpc/wscript_build @@ -174,7 +174,7 @@ bld.SAMBA_LIBRARY('dcerpc', bld.SAMBA_SUBSYSTEM('pyrpc_util', source='rpc/pyrpc_util.c', public_deps='PYTALLOC pyparam_util pycredentials dcerpc', - pyembed=True, + pyext=True, ) diff --git a/source4/param/wscript_build b/source4/param/wscript_build index 6532782b85d..3595d0be7a7 100644 --- a/source4/param/wscript_build +++ b/source4/param/wscript_build @@ -14,7 +14,7 @@ bld.SAMBA_LIBRARY('LIBSAMBA-HOSTCONFIG', bld.SAMBA_SUBSYSTEM('PROVISION', source='provision.c pyparam.c', deps='LIBPYTHON pyparam_util ldb PYTALLOC', - pyembed=True, + pyext=True, ) @@ -57,6 +57,6 @@ bld.SAMBA_PYTHON('param', bld.SAMBA_SUBSYSTEM('pyparam_util', source='pyparam_util.c', deps='LIBPYTHON LIBSAMBA-HOSTCONFIG', - pyembed=True + pyext=True, ) diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build index 055edc8f6ab..d691d61f730 100644 --- a/source4/scripting/python/wscript_build +++ b/source4/scripting/python/wscript_build @@ -1,34 +1,34 @@ #!/usr/bin/env python bld.SAMBA_SUBSYSTEM('LIBPYTHON', - source='modules.c', - public_deps='EXT_LIB_PYTHON', - init_function_sentinal='{NULL,NULL}', - pyembed=True, - deps='talloc', - ) + source='modules.c', + public_deps='EXT_LIB_PYTHON', + init_function_sentinal='{NULL,NULL}', + deps='talloc', + pyext=True, + ) bld.SAMBA_SUBSYSTEM('PYTALLOC', - source='../../../lib/talloc/pytalloc.c', - public_deps='EXT_LIB_PYTHON talloc', - pyembed=True, -) + source='../../../lib/talloc/pytalloc.c', + public_deps='EXT_LIB_PYTHON talloc', + pyext=True, + ) bld.SAMBA_PYTHON('python_uuid', - source='uuidmodule.c', - deps='LIBNDR', - realname='uuid.so', - enabled = float(bld.env.PYTHON_VERSION) <= 2.4 - ) + source='uuidmodule.c', + deps='LIBNDR', + realname='uuid.so', + enabled = float(bld.env.PYTHON_VERSION) <= 2.4 + ) bld.SAMBA_PYTHON('python_glue', - source='pyglue.c', - deps='pyparam_util LIBSAMBA-UTIL LIBNETIF PYTALLOC', - realname='samba/_glue.so' - ) + source='pyglue.c', + deps='pyparam_util LIBSAMBA-UTIL LIBNETIF PYTALLOC', + realname='samba/_glue.so' + ) # create a dummy subsystem for EXT_LIB_PYTHON diff --git a/source4/web_server/wscript_build b/source4/web_server/wscript_build index dc1c3870dcd..eb0f44f4da5 100644 --- a/source4/web_server/wscript_build +++ b/source4/web_server/wscript_build @@ -2,17 +2,18 @@ bld.SAMBA_SUBSYSTEM('WEB_WSGI', - source='wsgi.c', - deps='talloc LIBTSOCKET', - pyembed=True - ) + source='wsgi.c', + pyext=True, + deps='talloc LIBTSOCKET', + ) bld.SAMBA_MODULE('WEB', - source='web_server.c', - autoproto='proto.h', - autoproto_extra_source='wsgi.c', - subsystem='service', - init_function='server_service_web_init', - deps='LIBTLS smbcalls process_model LIBPYTHON WEB_WSGI' - ) + source='web_server.c', + autoproto='proto.h', + autoproto_extra_source='wsgi.c', + subsystem='service', + init_function='server_service_web_init', + deps='LIBTLS smbcalls process_model LIBPYTHON WEB_WSGI', + pyembed=True, + ) |