summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/wscript
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-03-14 08:37:31 +0100
committerStefan Metzmacher <metze@samba.org>2011-03-16 09:58:22 +0100
commit1d5f3c11df95b9a4f846a7122d1aab354a42dd3a (patch)
tree50af0c36b94f06eba23106d1bf355d60d82c4ae6 /source4/lib/ldb/wscript
parent46384cf60a41ee23927f2f4c26fe9239bdbf154a (diff)
downloadsamba-1d5f3c11df95b9a4f846a7122d1aab354a42dd3a.tar.gz
samba-1d5f3c11df95b9a4f846a7122d1aab354a42dd3a.tar.bz2
samba-1d5f3c11df95b9a4f846a7122d1aab354a42dd3a.zip
s4:ldb: don't install .pc files when building a private library
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 16 09:58:22 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/lib/ldb/wscript')
-rwxr-xr-xsource4/lib/ldb/wscript8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 6bec7470f0..df08f8753d 100755
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -73,8 +73,12 @@ def build(bld):
if bld.env.standalone_ldb:
private_library = False
+ ldb_pc_files='ldb.pc'
+ pyldb_pc_files='pyldb-util.pc'
else:
private_library = True
+ ldb_pc_files=None
+ pyldb_pc_files=None
LDB_MAP_SRC = bld.SUBDIR('ldb_map',
'ldb_map.c ldb_map_inbound.c ldb_map_outbound.c')
@@ -108,7 +112,7 @@ def build(bld):
public_headers_install=not private_library,
vnum=VERSION,
private_library=private_library,
- pc_files='pyldb-util.pc',
+ pc_files=pyldb_pc_files,
pyext=True)
if not bld.CONFIG_SET('USING_SYSTEM_LDB'):
@@ -128,7 +132,7 @@ def build(bld):
public_headers='include/ldb.h include/ldb_errors.h '\
'include/ldb_module.h include/ldb_handlers.h',
public_headers_install=not private_library,
- pc_files='ldb.pc',
+ pc_files=ldb_pc_files,
vnum=VERSION,
private_library=private_library,
manpages='man/ldb.3',