From: Bruno Haible Date: Sat, 17 Sep 2022 19:31:53 +0000 (+0200) Subject: time C++ tests: Fix link error on CentOS 5. X-Git-Tag: v1.0~2015 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=c35dea1c891af38e12f4c423fb84e06760e80b70;p=gnulib.git time C++ tests: Fix link error on CentOS 5. * modules/time-c++-tests (Makefile.am): Link test-time-c++ against $(LIB_CLOCK_GETTIME). --- diff --git a/ChangeLog b/ChangeLog index a995e6844b..8e7283b2e9 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