tdb: Only set public headers field when installing as a public library.
[obnox/samba/samba-obnox.git] / lib / tdb / wscript
index c47c37ad2e2a5eea13630dca14c758cbef66f350..e5c0ead6a5bbd0ca46b8ad227b5e33ceeb7c25e0 100644 (file)
@@ -138,7 +138,7 @@ def build(bld):
                           abi_match='tdb_*',
                           hide_symbols=True,
                           vnum=VERSION,
-                          public_headers='include/tdb.h',
+                          public_headers=('' if private_library else 'include/tdb.h'),
                           public_headers_install=not private_library,
                           pc_files='tdb.pc',
                           private_library=private_library)