summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-25 16:05:23 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-24 03:52:05 +0200
commit52255f4eb50866cb2eceb92308c9a5ab49c04f7c (patch)
tree0ccd39d652d30fb286d94e53c3717de88ab76e88 /buildtools
parent9554fd6e2ff12760d463c9464f72cf6b51b7363d (diff)
downloadsamba-52255f4eb50866cb2eceb92308c9a5ab49c04f7c.tar.gz
samba-52255f4eb50866cb2eceb92308c9a5ab49c04f7c.tar.bz2
samba-52255f4eb50866cb2eceb92308c9a5ab49c04f7c.zip
s3-build: Require fully defined symbols for all public libraries
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py
index c11e7d8f2a..084427f3a7 100644
--- a/buildtools/wafsamba/samba3.py
+++ b/buildtools/wafsamba/samba3.py
@@ -93,7 +93,7 @@ def s3_fix_kwargs(bld, kwargs):
def SAMBA3_LIBRARY(bld, name, *args, **kwargs):
s3_fix_kwargs(bld, kwargs)
- if not 'allow_undefined_symbols' in kwargs:
+ if not 'allow_undefined_symbols' in kwargs and ('private_library' in kwargs and kwargs['private_library'] == True):
kwargs['allow_undefined_symbols'] = True
return bld.SAMBA_LIBRARY(name, *args, **kwargs)
Build.BuildContext.SAMBA3_LIBRARY = SAMBA3_LIBRARY