summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb')
-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',