summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-23 20:39:48 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-23 18:42:04 +0000
commit9a2f83a86ae9068c9c63b0c701f5625d19114028 (patch)
tree5447ebad28bbe7b1d6e6ccecaafed80de4f412ea /source4/lib
parentbd48e23f3414331445a901143f84cda125230262 (diff)
downloadsamba-9a2f83a86ae9068c9c63b0c701f5625d19114028.tar.gz
samba-9a2f83a86ae9068c9c63b0c701f5625d19114028.tar.bz2
samba-9a2f83a86ae9068c9c63b0c701f5625d19114028.zip
ldb: Install pkg-config file for pyldb.
Diffstat (limited to 'source4/lib')
-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'):