From: Andreas Schneider Date: Mon, 23 Sep 2019 15:39:29 +0000 (+0200) Subject: third_party: Link nss_wrapper against pthread X-Git-Tag: talloc-2.3.1~673 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68d8a02ef57cce29e4ff3ef1b792adfc10d0b916;p=thirdparty%2Fsamba.git 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 Signed-off-by: Isaac Boukris Pair-Programmed-With: Isaac Boukris Reviewed-by: Matthias Dieter Wallnöfer Reviewed-by: Alexander Bokovoy --- 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')