mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8368565: Adjust comment regarding dependency of libjvm.so to librt
Reviewed-by: dholmes
This commit is contained in:
parent
a80ba6260e
commit
7bfdb01207
@ -136,12 +136,8 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
|
|||||||
BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBPTHREAD"
|
BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBPTHREAD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# librt for legacy clock_gettime
|
# librt - for timers (timer_* functions)
|
||||||
if test "x$OPENJDK_TARGET_OS" = xlinux; then
|
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"
|
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lrt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user