summaryrefslogtreecommitdiff
path: root/third_party/nss_wrapper
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-09-23 17:39:29 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-09-25 15:39:40 +0000
commit68d8a02ef57cce29e4ff3ef1b792adfc10d0b916 (patch)
tree26d8b25cbecf5fb4a253aefffeb2a5ab2cea74ee /third_party/nss_wrapper
parent36e8d715bc8dc1e8466f5a5c9798df76310b7572 (diff)
downloadsamba-68d8a02ef57cce29e4ff3ef1b792adfc10d0b916.tar.gz
third_party: Link nss_wrapper against pthread
nss_wrapper uses pthread_atfork() which is only provided by libpthread. So we need an explicit dependency. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14140 Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Isaac Boukris <iboukris@gmail.com> Pair-Programmed-With: Isaac Boukris <iboukris@gmail.com> Reviewed-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'third_party/nss_wrapper')
-rw-r--r--third_party/nss_wrapper/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nss_wrapper/wscript b/third_party/nss_wrapper/wscript
index 127b5207c5e..7a2f53ad299 100644
--- a/third_party/nss_wrapper/wscript
+++ b/third_party/nss_wrapper/wscript
@@ -90,6 +90,6 @@ def build(bld):
# breaks preloading!
bld.SAMBA_LIBRARY('nss_wrapper',
source='nss_wrapper.c',
- deps='dl',
+ deps='dl pthread',
install=False,
realname='libnss-wrapper.so')