From: Samuel Thibault Date: Tue, 13 Jul 2021 21:45:57 +0000 (+0000) Subject: htl: Fix linking static examples against libpthread X-Git-Tag: glibc-2.34~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7fe71d8424e2eb6230f264d30323a696cf54114;p=thirdparty%2Fglibc.git htl: Fix linking static examples against libpthread libpthread.a uses some mach and hurd RPCs so we need to link them in. --- diff --git a/sysdeps/htl/Makeconfig b/sysdeps/htl/Makeconfig index b5c5d62b74b..f8b321c8d23 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))