diff mbox series

[hurd,commited] htl: Fix linking static examples against libpthread

Message ID 20210713215014.3477427-1-samuel.thibault@ens-lyon.org
State Committed, archived
Headers show
Series [hurd,commited] htl: Fix linking static examples against libpthread | expand


Context Check Description
dj/TryBot-apply_patch fail Patch failed to apply to master at the time it was sent
dj/TryBot-32bit fail Patch series failed to apply

Commit Message

Samuel Thibault July 13, 2021, 9:50 p.m. UTC
libpthread.a uses some mach and hurd RPCs so we need to link them in.
 sysdeps/htl/Makeconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


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))