From 8a9727137d251398ea947211cc5c0bce6c719dfa Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 17 Sep 2022 21:31:53 +0200 Subject: [PATCH] time C++ tests: Fix link error on CentOS 5. * modules/time-c++-tests (Makefile.am): Link test-time-c++ against $(LIB_CLOCK_GETTIME). --- ChangeLog | 6 ++++++ modules/time-c++-tests | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6bda9e338b..6614626f57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-09-17 Bruno Haible + + time C++ tests: Fix link error on CentOS 5. + * modules/time-c++-tests (Makefile.am): Link test-time-c++ against + $(LIB_CLOCK_GETTIME). + 2022-09-14 Bruno Haible time: Fix compilation errors with clang/MSVC. diff --git a/modules/time-c++-tests b/modules/time-c++-tests index c811d6fd42..f8dd779965 100644 --- a/modules/time-c++-tests +++ b/modules/time-c++-tests @@ -16,5 +16,5 @@ if ANSICXX TESTS += test-time-c++ check_PROGRAMS += test-time-c++ test_time_c___SOURCES = test-time-c++.cc test-time-c++2.cc -test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) +test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_CLOCK_GETTIME) endif -- 2.39.5