summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/lib/ldb/wscript5
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)