diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-08-21 02:26:51 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-08-21 03:22:05 +0200 |
commit | 8cb6449130284e8cab76b044a1a406c4a9074cc1 (patch) | |
tree | c299cfab6a32c5674163927e174596ed71f757d2 | |
parent | 9d668c495c5841fe3d62a6eb9a0c505500a2d7f5 (diff) | |
download | samba-8cb6449130284e8cab76b044a1a406c4a9074cc1.tar.gz samba-8cb6449130284e8cab76b044a1a406c4a9074cc1.tar.xz samba-8cb6449130284e8cab76b044a1a406c4a9074cc1.zip |
wafsamba: Require public libraries to have headers.
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 85ff732f14..544b491a70 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -198,6 +198,9 @@ def SAMBA_LIBRARY(bld, libname, source, if pc_files is None: raise Utils.WafError("public library '%s' must have pkg-config file" % libname) + if public_headers is None: + raise Utils.WafError("public library '%s' must have header files" % + libname) if target_type == 'PYTHON' or realname or not private_library: bundled_name = libname.replace('_', '-') |