aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-25 11:30:23 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-25 11:30:23 +0200
commit3b638095a575451b3c92ebd0b45f11578d07f26d (patch)
treeafdef512892f9006fd35a157deae30620f888656 /sysdeps
parent709e3709a02636fb9ce79fad727b09140989864c (diff)
downloadglibc-3b638095a575451b3c92ebd0b45f11578d07f26d.zip
glibc-3b638095a575451b3c92ebd0b45f11578d07f26d.tar.gz
glibc-3b638095a575451b3c92ebd0b45f11578d07f26d.tar.bz2
nptl: Do not install libpthread.so and do not link tests with it
Keep installing libpthread.a, so that -lpthread works. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/nptl/Makeconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/nptl/Makeconfig b/sysdeps/nptl/Makeconfig
index 8757ec8..8a94079 100644
--- a/sysdeps/nptl/Makeconfig
+++ b/sysdeps/nptl/Makeconfig
@@ -21,7 +21,11 @@
have-thread-library = yes
-shared-thread-library = $(common-objpfx)nptl/libpthread.so
-static-thread-library = $(common-objpfx)nptl/libpthread.a
+# The thread library is integrated.
+shared-thread-library =
+static-thread-library =
+# Some tests need this to load their own test objects, and system
+# libraries used by memusagestat need to link against the empty
+# libpthread.so.0, not the (potentially non-empty) system version.
rpath-dirs += nptl