summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-03 17:19:33 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-15 12:22:20 +1100
commitc56e3ccfc9eafbb69b03dc40346e3115bec42ef6 (patch)
tree4fb36f73a8809bb40359332064befa00c685d920 /lib
parentf8655f4621a0dbacb712d384565c590f057adbbf (diff)
downloadsamba-c56e3ccfc9eafbb69b03dc40346e3115bec42ef6.tar.gz
samba-c56e3ccfc9eafbb69b03dc40346e3115bec42ef6.tar.bz2
samba-c56e3ccfc9eafbb69b03dc40346e3115bec42ef6.zip
lib: don't install public headers if a private library
for talloc/tevent/tdb, only install headers if we are doing a standalone build
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/wscript1
-rw-r--r--lib/tdb/wscript1
-rw-r--r--lib/tevent/wscript1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index 4080a8d582..c96c69cdd9 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -98,6 +98,7 @@ def build(bld):
hide_symbols=True,
vnum=VERSION,
public_headers='talloc.h',
+ public_headers_install=not private_library,
private_library=private_library,
manpages='talloc.3')
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index 7498350fc8..9041f8c1ba 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -79,6 +79,7 @@ def build(bld):
hide_symbols=True,
vnum=VERSION,
public_headers='include/tdb.h',
+ public_headers_install=not private_library,
private_library=private_library)
bld.SAMBA_BINARY('tdbtorture',
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index c57b65a425..de245d92e7 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -84,6 +84,7 @@ def build(bld):
abi_match='tevent_* _tevent_*',
vnum=VERSION,
public_headers='tevent.h',
+ public_headers_install=not private_library,
private_library=private_library)
bld.SAMBA_PYTHON('pytevent',