]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
third_party: Link uid_wrapper against pthread
authorAndreas Schneider <asn@samba.org>
Mon, 23 Sep 2019 15:40:13 +0000 (17:40 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 25 Sep 2019 15:39:40 +0000 (15:39 +0000)
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 <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>
third_party/uid_wrapper/wscript

index df302ab7e3fb474d087c59cc07d3dff5ae11a5fb..182ef88d3df4f5d0ab1f33012bb04b1a16e1ffaf 100644 (file)
@@ -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')