summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+#######################