summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-29 14:49:44 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:46 +0100
commit8515d23a3a920c27b37f3653850c61ba0f6eec71 (patch)
treedcab6a5c5117aab2303f8536e7a043c051c589ce /source4
parent4d417d2e0d5558cd5a037b198d9d15aa474f1862 (diff)
downloadsamba-8515d23a3a920c27b37f3653850c61ba0f6eec71.tar.gz
samba-8515d23a3a920c27b37f3653850c61ba0f6eec71.tar.bz2
samba-8515d23a3a920c27b37f3653850c61ba0f6eec71.zip
r26196: Always build python bindings for ldb.
(This used to be commit 0aa19ce73f435cab44f83023b9b265d4761d3c31)
Diffstat (limited to 'source4')
-rw-r--r--source4/configure.ac1
-rw-r--r--source4/lib/ldb/config.mk7
-rw-r--r--source4/lib/ldb/python.mk7
3 files changed, 8 insertions, 7 deletions
diff --git a/source4/configure.ac b/source4/configure.ac
index aaa9e7e169..164a21e823 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -75,6 +75,7 @@ SMB_EXT_LIB_FROM_PKGCONFIG(LIBLDB, ldb >= 0.9.1,
SMB_INCLUDE_MK(lib/ldb/config.mk)
]
)
+SMB_INCLUDE_MK(lib/ldb/python.mk)
m4_include(lib/tls/config.m4)
m4_include(lib/events/config.m4)
diff --git a/source4/lib/ldb/config.mk b/source4/lib/ldb/config.mk
index 38f6c371a2..d37cd0d650 100644
--- a/source4/lib/ldb/config.mk
+++ b/source4/lib/ldb/config.mk
@@ -192,13 +192,6 @@ PRIVATE_DEPENDENCIES = \
# End BINARY ad2oLschema
################################################
-#######################
-# Start LIBRARY swig_ldb
-[PYTHON::swig_ldb]
-PUBLIC_DEPENDENCIES = LIBLDB LIBPYTHON
-SWIG_FILE = ldb.i
-# End LIBRARY swig_ldb
-#######################
include tools/config.mk
include ldb_ildap/config.mk
diff --git a/source4/lib/ldb/python.mk b/source4/lib/ldb/python.mk
new file mode 100644
index 0000000000..12badf04f6
--- /dev/null
+++ b/source4/lib/ldb/python.mk
@@ -0,0 +1,7 @@
+#######################
+# Start LIBRARY swig_ldb
+[PYTHON::swig_ldb]
+PUBLIC_DEPENDENCIES = LIBLDB LIBPYTHON
+SWIG_FILE = ldb.i
+# End LIBRARY swig_ldb
+#######################