diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-08-21 03:02:58 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-08-21 03:22:05 +0200 |
commit | 31912781ca84db9b27264b5182729d1097c0661d (patch) | |
tree | e8039947446fa2aae102ef64989800d8daa7427f /lib/ldb/wscript | |
parent | a5025a3c2fa83c67e0a53611ad8fbe264888a590 (diff) | |
download | samba-31912781ca84db9b27264b5182729d1097c0661d.tar.gz samba-31912781ca84db9b27264b5182729d1097c0661d.tar.bz2 samba-31912781ca84db9b27264b5182729d1097c0661d.zip |
wafsamba: Only install .pc files if libraries are public.
Diffstat (limited to 'lib/ldb/wscript')
-rwxr-xr-x | lib/ldb/wscript | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/ldb/wscript b/lib/ldb/wscript index bf1b4a6065..07134641b6 100755 --- a/lib/ldb/wscript +++ b/lib/ldb/wscript @@ -84,12 +84,8 @@ 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') @@ -123,7 +119,7 @@ def build(bld): public_headers_install=not private_library, vnum=VERSION, private_library=private_library, - pc_files=pyldb_pc_files, + pc_files='pyldb-util.pc', pyext=True, abi_directory='ABI', abi_match='pyldb_*') @@ -145,7 +141,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_files, + pc_files='ldb.pc', vnum=VERSION, private_library=private_library, manpages='man/ldb.3', |