mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
s4-waf: don't depend directly on python modules
build rules should not list dependencies on python modules. Instead, if code needs the module it should use the python API import calls to access the module. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
@ -9,7 +9,7 @@ bld.SAMBA_SUBSYSTEM('MESSAGING',
|
||||
|
||||
bld.SAMBA_PYTHON('python_messaging',
|
||||
source='pymessaging.c',
|
||||
deps='MESSAGING LIBEVENTS python_irpc pyparam_util',
|
||||
deps='MESSAGING LIBEVENTS pyparam_util',
|
||||
realname='samba/messaging.so'
|
||||
)
|
||||
|
||||
|
@ -63,7 +63,7 @@ bld.SAMBA_SUBSYSTEM('torture_registry',
|
||||
|
||||
bld.SAMBA_PYTHON('py_registry',
|
||||
source='pyregistry.c',
|
||||
public_deps='registry PYTALLOC pycredentials pyparam_util',
|
||||
public_deps='registry PYTALLOC pyparam_util',
|
||||
realname='samba/registry.so'
|
||||
)
|
||||
|
||||
|
@ -183,7 +183,7 @@ bld.SAMBA_LIBRARY('dcerpc',
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('pyrpc_util',
|
||||
source='rpc/pyrpc_util.c',
|
||||
public_deps='PYTALLOC pyparam_util pycredentials dcerpc',
|
||||
public_deps='PYTALLOC pyparam_util dcerpc',
|
||||
pyext=True,
|
||||
)
|
||||
|
||||
@ -301,7 +301,7 @@ bld.SAMBA_PYTHON('python_irpc',
|
||||
|
||||
bld.SAMBA_PYTHON('python_winbind',
|
||||
source='gen_ndr/py_winbind.c',
|
||||
deps='RPC_NDR_WINBIND PYTALLOC pyrpc_util python_netlogon',
|
||||
deps='RPC_NDR_WINBIND PYTALLOC pyrpc_util',
|
||||
realname='samba/dcerpc/winbind.so'
|
||||
)
|
||||
|
||||
|
@ -41,14 +41,14 @@ bld.SAMBA_MODULE('ntvfs_posix',
|
||||
|
||||
bld.SAMBA_PYTHON('python_xattr_native',
|
||||
source='python/pyxattr_native.c',
|
||||
deps='LIBNDR ldb SAMDB CREDENTIALS python_dcerpc_security pyparam_util WRAP_XATTR attr',
|
||||
deps='LIBNDR ldb SAMDB CREDENTIALS pyparam_util WRAP_XATTR attr',
|
||||
realname='samba/xattr_native.so'
|
||||
)
|
||||
|
||||
|
||||
bld.SAMBA_PYTHON('python_xattr_tdb',
|
||||
source='python/pyxattr_tdb.c xattr_tdb.c',
|
||||
deps='LIBNDR ldb python_dcerpc_security pyparam_util share attr',
|
||||
deps='LIBNDR ldb pyparam_util share attr',
|
||||
realname='samba/xattr_tdb.so'
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user