From: Andreas Schneider Date: Mon, 23 Sep 2019 15:40:13 +0000 (+0200) Subject: third_party: Link uid_wrapper against pthread X-Git-Tag: talloc-2.3.1~672 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd0cd8e13234d684da77a65f6fdaea2572625369;p=thirdparty%2Fsamba.git third_party: Link uid_wrapper against pthread uid_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/uid_wrapper/wscript b/third_party/uid_wrapper/wscript index df302ab7e3f..182ef88d3df 100644 --- a/third_party/uid_wrapper/wscript +++ b/third_party/uid_wrapper/wscript @@ -119,6 +119,6 @@ def build(bld): # breaks preloading! bld.SAMBA_LIBRARY('uid_wrapper', source='uid_wrapper.c', - deps='dl', + deps='dl pthread', install=False, realname='libuid-wrapper.so')