summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-28 18:55:52 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-15 12:22:18 +1100
commite3e1eada45d28fa2034919d1096c0437da80ecff (patch)
tree3788c1f6b831d648dc5566f294a26cf3a7942eaa /lib
parent03aebc2df870803ad6f80eb7595b55254d5ccfc5 (diff)
downloadsamba-e3e1eada45d28fa2034919d1096c0437da80ecff.tar.gz
samba-e3e1eada45d28fa2034919d1096c0437da80ecff.tar.bz2
samba-e3e1eada45d28fa2034919d1096c0437da80ecff.zip
talloc: use public_headers to install talloc.h and pytalloc.h
this allows them to be included in the test_headers.h generated header
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index e7cf83d893..4080a8d582 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -74,7 +74,6 @@ def build(bld):
bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
bld.env.TALLOC_VERSION = VERSION
bld.PKG_CONFIG_FILES('talloc.pc', vnum=VERSION)
- bld.INSTALL_FILES('${INCLUDEDIR}', 'talloc.h')
private_library = False
# should we also install the symlink to libtalloc1.so here?
@@ -98,6 +97,7 @@ def build(bld):
abi_match='talloc* _talloc*',
hide_symbols=True,
vnum=VERSION,
+ public_headers='talloc.h',
private_library=private_library,
manpages='talloc.3')
@@ -109,8 +109,8 @@ def build(bld):
pyext=True,
vnum=VERSION,
private_library=private_library,
+ public_headers='pytalloc.h'
)
- bld.INSTALL_FILES('${INCLUDEDIR}', 'pytalloc.h')
bld.SAMBA_PYTHON('pytalloc',
'pytalloc.c',
deps='talloc pytalloc-util',