]> sourceware.org Git - 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>
Fri, 25 Oct 2024 11:43:46 +0000 (13:43 +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>
libio/Makefile

index 018c26d971d17b9d40b45edb0c77187a9a2a0956..cd5a3afeeb8599e6e5f5378eb4c23a94517704a9 100644 (file)
@@ -144,6 +144,8 @@ tests = \
   tst_wscanf \
   # tests
 
+$(objpfx)tst-popen-fork: $(shared-thread-library)
+
 tests-internal = tst-vtables tst-vtables-interposed
 
 ifeq (yes,$(build-shared))
This page took 0.041424 seconds and 5 git commands to generate.