diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-03-03 17:21:45 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-03-15 12:22:20 +1100 |
commit | 827d020f7e51b179e7e629602ee4d02ba610bde5 (patch) | |
tree | 6bf96a628ad211e76f60b675a2c57b53867ee6a9 /source4 | |
parent | c56e3ccfc9eafbb69b03dc40346e3115bec42ef6 (diff) | |
download | samba-827d020f7e51b179e7e629602ee4d02ba610bde5.tar.gz samba-827d020f7e51b179e7e629602ee4d02ba610bde5.tar.bz2 samba-827d020f7e51b179e7e629602ee4d02ba610bde5.zip |
ldb: only install headers if we are not building as a private lib
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/lib/ldb/wscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index f31f3dd29d..6bec7470f0 100755 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -105,6 +105,7 @@ def build(bld): deps='ldb pytalloc-util', source='pyldb_util.c', public_headers='pyldb.h', + public_headers_install=not private_library, vnum=VERSION, private_library=private_library, pc_files='pyldb-util.pc', @@ -126,6 +127,7 @@ def build(bld): includes='include', 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', vnum=VERSION, private_library=private_library, @@ -137,7 +139,8 @@ def build(bld): t = bld.SAMBA_GENERATOR('ldb_version.h', rule='echo "#define LDB_VERSION \\"${LDB_VERSION}\\"" > ${TGT}', target='include/ldb_version.h', - public_headers='include/ldb_version.h') + public_headers='include/ldb_version.h', + public_headers_install=not private_library) t.env.LDB_VERSION = VERSION bld.add_manual_dependency(bld.path.find_or_declare('include/ldb_version.h'), VERSION) |