diff options
author | Andreas Schneider <asn@samba.org> | 2019-09-23 17:39:29 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-10-16 12:15:52 +0000 |
commit | e405ed01b02cc10838c4a9828d43fc99eaeb50c9 (patch) | |
tree | 6447d7fe3cd98b12061433ae8de9d2ad7293ed38 | |
parent | 171ff620cd0fd29e15585b137ef03d1b7af988ba (diff) | |
download | samba-e405ed01b02cc10838c4a9828d43fc99eaeb50c9.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>
(cherry picked from commit 68d8a02ef57cce29e4ff3ef1b792adfc10d0b916)
-rw-r--r-- | third_party/nss_wrapper/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nss_wrapper/wscript b/third_party/nss_wrapper/wscript index 2e9d1db13b1..40848603b36 100644 --- a/third_party/nss_wrapper/wscript +++ b/third_party/nss_wrapper/wscript @@ -89,6 +89,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') |