summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-08-21 02:54:53 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-08-21 03:22:05 +0200
commita5025a3c2fa83c67e0a53611ad8fbe264888a590 (patch)
treee28ac5839b1c6f1fe7e0d7e4f329046324edb76a /lib
parent8cb6449130284e8cab76b044a1a406c4a9074cc1 (diff)
downloadsamba-a5025a3c2fa83c67e0a53611ad8fbe264888a590.tar.gz
samba-a5025a3c2fa83c67e0a53611ad8fbe264888a590.tar.bz2
samba-a5025a3c2fa83c67e0a53611ad8fbe264888a590.zip
tdb: Install pkg-config file.
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index 58a747f0b2..7cebc8808e 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -65,9 +65,10 @@ def build(bld):
if bld.env.standalone_tdb:
bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
- bld.PKG_CONFIG_FILES('tdb.pc', vnum=VERSION)
+ pc_files = 'tdb.pc'
private_library = False
else:
+ pc_files = []
private_library = True
if not bld.CONFIG_SET('USING_SYSTEM_TDB'):
@@ -81,6 +82,7 @@ def build(bld):
vnum=VERSION,
public_headers='include/tdb.h',
public_headers_install=not private_library,
+ pc_files=pc_files,
private_library=private_library)
bld.SAMBA_BINARY('tdbtorture',