summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/ldb/pyldb.pc.in13
-rw-r--r--source4/lib/ldb/wscript1
2 files changed, 14 insertions, 0 deletions
diff --git a/source4/lib/ldb/pyldb.pc.in b/source4/lib/ldb/pyldb.pc.in
new file mode 100644
index 0000000000..4cf5c1ae0c
--- /dev/null
+++ b/source4/lib/ldb/pyldb.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+modulesdir=@LDB_MODULESDIR@
+
+Name: pyldb
+Description: Python bindings for LDB
+Version: @PACKAGE_VERSION@
+Requires: ldb
+Libs: -L${libdir} -lpyldb-util
+Cflags: -I${includedir}
+URL: http://ldb.samba.org/
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 92f7846145..7a233d4a9d 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -107,6 +107,7 @@ def build(bld):
source='pyldb_util.c',
public_headers='pyldb.h',
vnum=VERSION,
+ pc_files='pyldb.pc',
pyext=True)
if not bld.CONFIG_SET('USING_SYSTEM_LDB'):