From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1792) id 01F713855037; Tue, 13 Jul 2021 21:50:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01F713855037 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Samuel Thibault To: glibc-cvs@sourceware.org Subject: [glibc] htl: Fix linking static examples against libpthread X-Act-Checkin: glibc X-Git-Author: Samuel Thibault X-Git-Refname: refs/heads/master X-Git-Oldrev: c27bcc95880934481fc1a128486e93447de6a0dd X-Git-Newrev: d7fe71d8424e2eb6230f264d30323a696cf54114 Message-Id: <20210713215001.01F713855037@sourceware.org> Date: Tue, 13 Jul 2021 21:50:00 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2021 21:50:01 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d7fe71d8424e2eb6230f264d30323a696cf54114 commit d7fe71d8424e2eb6230f264d30323a696cf54114 Author: Samuel Thibault Date: Tue Jul 13 21:45:57 2021 +0000 htl: Fix linking static examples against libpthread libpthread.a uses some mach and hurd RPCs so we need to link them in. Diff: --- sysdeps/htl/Makeconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))