From 7bfdb0120752d01da96c19e8037a6e909847d63c Mon Sep 17 00:00:00 2001 From: Matthias Baesken Date: Fri, 26 Sep 2025 09:00:59 +0000 Subject: [PATCH] 8368565: Adjust comment regarding dependency of libjvm.so to librt Reviewed-by: dholmes --- make/autoconf/libraries.m4 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/make/autoconf/libraries.m4 b/make/autoconf/libraries.m4 index bf697928f1b..8dc3d55ed0c 100644 --- a/make/autoconf/libraries.m4 +++ b/make/autoconf/libraries.m4 @@ -136,12 +136,8 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES], BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBPTHREAD" fi - # librt for legacy clock_gettime + # librt - for timers (timer_* functions) if test "x$OPENJDK_TARGET_OS" = xlinux; then - # Hotspot needs to link librt to get the clock_* functions. - # But once our supported minimum build and runtime platform - # has glibc 2.17, this can be removed as the functions are - # in libc. BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lrt" fi