summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-08-21 03:02:58 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-08-21 03:22:05 +0200
commit31912781ca84db9b27264b5182729d1097c0661d (patch)
treee8039947446fa2aae102ef64989800d8daa7427f /buildtools/wafsamba
parenta5025a3c2fa83c67e0a53611ad8fbe264888a590 (diff)
downloadsamba-31912781ca84db9b27264b5182729d1097c0661d.tar.gz
samba-31912781ca84db9b27264b5182729d1097c0661d.tar.bz2
samba-31912781ca84db9b27264b5182729d1097c0661d.zip
wafsamba: Only install .pc files if libraries are public.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 544b491a70..338bc3d48b 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -279,7 +279,7 @@ def SAMBA_LIBRARY(bld, libname, source,
if link_name:
t.link_name = link_name
- if pc_files is not None:
+ if pc_files is not None and not private_library:
bld.PKG_CONFIG_FILES(pc_files, vnum=vnum)
if (manpages is not None and 'XSLTPROC_MANPAGES' in bld.env and