From 8cb6449130284e8cab76b044a1a406c4a9074cc1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 21 Aug 2011 02:26:51 +0200 Subject: wafsamba: Require public libraries to have headers. --- buildtools/wafsamba/wafsamba.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'buildtools/wafsamba') 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('_', '-') -- cgit