summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/configure.ac4
-rw-r--r--source4/lib/tdb/config.mk8
-rw-r--r--source4/lib/tdb/python.mk3
-rw-r--r--source4/samba4-skip1
4 files changed, 6 insertions, 10 deletions
diff --git a/source4/configure.ac b/source4/configure.ac
index 53fcc11804..f4fb671aed 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -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)
diff --git a/source4/lib/tdb/config.mk b/source4/lib/tdb/config.mk
index d0d1dfb492..c9e5a67d7b 100644
--- a/source4/lib/tdb/config.mk
+++ b/source4/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
-#######################
diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk
new file mode 100644
index 0000000000..23b01c120c
--- /dev/null
+++ b/source4/lib/tdb/python.mk
@@ -0,0 +1,3 @@
+[PYTHON::swig_tdb]
+SWIG_FILE = tdb.i
+PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG
diff --git a/source4/samba4-skip b/source4/samba4-skip
index 9f8b9b0eeb..76f07dea1a 100644
--- a/source4/samba4-skip
+++ b/source4/samba4-skip
@@ -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