tevent: Only set public headers field when installing as a public library.
[obnox/samba/samba-obnox.git] / lib / tevent / wscript
index 73871d88674d9f590ea993f1f9d915ce9c5103b8..103cc06cef2a8c2b95e161e2d499d0f17e57fec0 100755 (executable)
@@ -107,7 +107,7 @@ def build(bld):
                           abi_directory='ABI',
                           abi_match='tevent_* _tevent_*',
                           vnum=VERSION,
-                          public_headers='tevent.h',
+                          public_headers=('' if private_library else 'tevent.h'),
                           public_headers_install=not private_library,
                           pc_files='tevent.pc',
                           private_library=private_library)