summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-09-23 17:40:13 +0200
committerStefan Metzmacher <metze@samba.org>2019-10-16 12:15:52 +0000
commitcade53a155838d85999efeb3da6525674977e2f8 (patch)
treee0b3c578d4254ef383d34a850e1f8abc9de5c18e
parente405ed01b02cc10838c4a9828d43fc99eaeb50c9 (diff)
downloadsamba-cade53a155838d85999efeb3da6525674977e2f8.tar.gz
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 <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 bd0cd8e13234d684da77a65f6fdaea2572625369)
-rw-r--r--third_party/uid_wrapper/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/uid_wrapper/wscript b/third_party/uid_wrapper/wscript
index 61d8a189625..738343f49e4 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')