A couple of JDK native libs link to $(LIBPTHREAD) but the dependency is not needed.
libsctp has no `pthread*` calls so most likely we can omit $(LIBPTHREAD). libawt_xawt only uses `pthread_self()` ; so on Linux it links without adding $(LIBPTHREAD) because it then uses `pthread_self() `from glibc; however it might still be better to link $(LIBPTHREAD) in this special case. ------------- Commit messages: - JDK-8368273 Changes: https://git.openjdk.org/jdk/pull/27426/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27426&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8368273 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/27426.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27426/head:pull/27426 PR: https://git.openjdk.org/jdk/pull/27426
