mirror of
https://github.com/samba-team/samba.git
synced 2025-02-09 09:57:48 +03:00
r26090: Make building tdb python bindings independent of use of external tdb.
This commit is contained in:
parent
4e7709379d
commit
bfe54e2f19
@ -211,3 +211,9 @@ source/auth/credentials/credentials.py
|
||||
source/lib/ldb/ldb.py
|
||||
source/lib/registry/registry.py
|
||||
source/libcli/swig/libcli_nbt.py
|
||||
source/lib/tdb/tdb.py
|
||||
source/lib/tdb/tdb_wrap.c
|
||||
source/librpc/rpc/dcerpc.py
|
||||
source/scripting/python/misc.py
|
||||
source/scripting/python/misc_wrap.c
|
||||
source/auth/auth.py
|
||||
|
@ -36,7 +36,9 @@ SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0,
|
||||
)
|
||||
|
||||
SMB_EXT_LIB_FROM_PKGCONFIG(LIBTDB, tdb >= 1.1.0,
|
||||
[],
|
||||
[
|
||||
SMB_INCLUDE_MK(lib/tdb/python.mk)
|
||||
],
|
||||
[
|
||||
m4_include(lib/tdb/libtdb.m4)
|
||||
SMB_INCLUDE_MK(lib/tdb/config.mk)
|
||||
|
@ -57,11 +57,3 @@ PRIVATE_DEPENDENCIES = \
|
||||
LIBTDB
|
||||
# End BINARY tdbbackup
|
||||
################################################
|
||||
|
||||
#######################
|
||||
# Start LIBRARY swig_tdb
|
||||
[PYTHON::swig_tdb]
|
||||
SWIG_FILE = tdb.i
|
||||
PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG
|
||||
# End LIBRARY swig_tdb
|
||||
#######################
|
||||
|
3
source/lib/tdb/python.mk
Normal file
3
source/lib/tdb/python.mk
Normal file
@ -0,0 +1,3 @@
|
||||
[PYTHON::swig_tdb]
|
||||
SWIG_FILE = tdb.i
|
||||
PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG
|
@ -52,4 +52,3 @@ NSS-TEST # Fails
|
||||
samba4.ldb.python # Fails to link properly
|
||||
samba4.credentials.python # Fails to link properly
|
||||
samba4.registry.python # Fails to link properly
|
||||
samba4.tdb.python # Fails to link properly
|
||||
|
Loading…
x
Reference in New Issue
Block a user