htl: Fix linking static examples against libpthread

libpthread.a uses some mach and hurd RPCs so we need to link them in.
This commit is contained in:
Samuel Thibault 2021-07-13 21:45:57 +00:00
parent c27bcc9588
commit d7fe71d842
1 changed files with 1 additions and 1 deletions

View File

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