summaryrefslogtreecommitdiff
path: root/sysdeps/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-07-13 21:45:57 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-07-13 23:49:53 +0200
commitd7fe71d8424e2eb6230f264d30323a696cf54114 (patch)
tree0ebd1a1cc902251d3ab38702d3ec7a6a7fee4252 /sysdeps/htl
parentc27bcc95880934481fc1a128486e93447de6a0dd (diff)
downloadglibc-d7fe71d8424e2eb6230f264d30323a696cf54114.tar.gz
htl: Fix linking static examples against libpthread
libpthread.a uses some mach and hurd RPCs so we need to link them in.
Diffstat (limited to 'sysdeps/htl')
-rw-r--r--sysdeps/htl/Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/Makeconfig b/sysdeps/htl/Makeconfig
index b5c5d62b74..f8b321c8d2 100644
--- a/sysdeps/htl/Makeconfig
+++ b/sysdeps/htl/Makeconfig
@@ -4,7 +4,7 @@
have-thread-library = yes
shared-thread-library = $(common-objpfx)htl/libpthread.so
-static-thread-library = $(..)htl/libpthread_syms.a $(common-objpfx)htl/libpthread.a
+static-thread-library = $(..)htl/libpthread_syms.a $(common-objpfx)htl/libpthread.a $(common-objpfx)mach/libmachuser.a $(common-objpfx)hurd/libhurduser.a
bounded-thread-library = $(static-thread-library)
ifeq (yes,$(build-shared))