]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
libio: Correctly link tst-popen-fork against libpthread
authorArjun Shankar <arjun@redhat.com>
Fri, 25 Oct 2024 07:33:45 +0000 (09:33 +0200)
committerArjun Shankar <arjun@redhat.com>
Wed, 14 May 2025 14:24:59 +0000 (16:24 +0200)
tst-popen-fork failed to build for Hurd due to not being linked with
libpthread.  This commit fixes that.

Tested with build-many-glibcs.py for i686-gnu.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
(cherry picked from commit 6a290b2895b77be839fcb7c44a6a9879560097ad)

libio/Makefile

index d1f23428676017351881443f8c16e3d7ac482951..92d6c6bcab1818d063cdfac9098e9eb31a25c461 100644 (file)
@@ -140,6 +140,8 @@ tests = \
   tst_wscanf \
   # tests
 
+$(objpfx)tst-popen-fork: $(shared-thread-library)
+
 tests-internal = tst-vtables tst-vtables-interposed
 
 ifeq (yes,$(build-shared))