summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r--buildtools/wafsamba/wafsamba.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 1b98e1ceb2c..2809ba8038d 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -136,9 +136,6 @@ def SAMBA_LIBRARY(bld, libname, source,
enabled=True):
'''define a Samba library'''
- if pyembed and bld.env['IS_EXTRA_PYTHON']:
- public_headers = None
-
if private_library and public_headers:
raise Errors.WafError("private library '%s' must not have public header files" %
libname)
@@ -222,7 +219,7 @@ def SAMBA_LIBRARY(bld, libname, source,
if pc_files is None:
raise Errors.WafError("public library '%s' must have pkg-config file" %
libname)
- if public_headers is None and not bld.env['IS_EXTRA_PYTHON']:
+ if public_headers is None:
raise Errors.WafError("public library '%s' must have header files" %
libname)