diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/ldb/wscript | 8 | ||||
-rw-r--r-- | lib/talloc/wscript | 9 | ||||
-rw-r--r-- | lib/tdb/wscript | 4 | ||||
-rw-r--r-- | lib/tevent/wscript | 2 |
4 files changed, 7 insertions, 16 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', diff --git a/lib/talloc/wscript b/lib/talloc/wscript index c43c661823..af9a8ff6d9 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -74,7 +74,6 @@ def build(bld): if bld.env.standalone_talloc: bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig' bld.env.TALLOC_VERSION = VERSION - bld.PKG_CONFIG_FILES('talloc.pc', vnum=VERSION) private_library = False # should we also install the symlink to libtalloc1.so here? @@ -82,10 +81,8 @@ def build(bld): 'compat/talloc_compat1.c', public_deps='talloc', soname='libtalloc.so.1', + pc_files='talloc.pc', enabled=bld.env.TALLOC_COMPAT1) - - if not bld.env.disable_python: - bld.PKG_CONFIG_FILES('pytalloc-util.pc', vnum=VERSION) else: private_library = True @@ -104,7 +101,6 @@ def build(bld): manpages='talloc.3') if not bld.CONFIG_SET('USING_SYSTEM_PYTALLOC_UTIL') and not bld.env.disable_python: - bld.SAMBA_LIBRARY('pytalloc-util', source='pytalloc_util.c', public_deps='talloc', @@ -114,7 +110,8 @@ def build(bld): abi_directory='ABI', abi_match='pytalloc_*', private_library=private_library, - public_headers='pytalloc.h' + public_headers='pytalloc.h', + pc_files='pytalloc-util.pc' ) bld.SAMBA_PYTHON('pytalloc', 'pytalloc.c', diff --git a/lib/tdb/wscript b/lib/tdb/wscript index 7cebc8808e..02f009b76a 100644 --- a/lib/tdb/wscript +++ b/lib/tdb/wscript @@ -65,10 +65,8 @@ def build(bld): if bld.env.standalone_tdb: bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig' - pc_files = 'tdb.pc' private_library = False else: - pc_files = [] private_library = True if not bld.CONFIG_SET('USING_SYSTEM_TDB'): @@ -82,7 +80,7 @@ def build(bld): vnum=VERSION, public_headers='include/tdb.h', public_headers_install=not private_library, - pc_files=pc_files, + pc_files='tdb.pc', private_library=private_library) bld.SAMBA_BINARY('tdbtorture', diff --git a/lib/tevent/wscript b/lib/tevent/wscript index 68430eae19..9c4d4c35bb 100644 --- a/lib/tevent/wscript +++ b/lib/tevent/wscript @@ -70,7 +70,6 @@ def build(bld): if bld.env.standalone_tevent: bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig' - bld.PKG_CONFIG_FILES('tevent.pc', vnum=VERSION) private_library = False else: private_library = True @@ -86,6 +85,7 @@ def build(bld): vnum=VERSION, public_headers='tevent.h', public_headers_install=not private_library, + pc_files='tevent.pc', private_library=private_library) bld.SAMBA_PYTHON('pytevent', |