1
0
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:
Jelmer Vernooij 2007-11-21 13:37:20 +01:00 committed by Stefan Metzmacher
parent 4e7709379d
commit bfe54e2f19
5 changed files with 12 additions and 10 deletions

View File

@ -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

View File

@ -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)

View File

@ -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
View File

@ -0,0 +1,3 @@
[PYTHON::swig_tdb]
SWIG_FILE = tdb.i
PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG

View File

@ -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