]> Savannah Git Hosting - gnulib.git/commitdiff
time C++ tests: Fix link error on CentOS 5.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Sep 2022 19:31:53 +0000 (21:31 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Sep 2022 19:32:24 +0000 (21:32 +0200)
* modules/time-c++-tests (Makefile.am): Link test-time-c++ against
$(LIB_CLOCK_GETTIME).

ChangeLog
modules/time-c++-tests

index a995e6844b4a71a655033f28fdd6fb17836d901b..8e7283b2e92770c7d3a2e9529f78acf4dd2ce460 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-09-17  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        time: Fix compilation errors with clang/MSVC.
index c811d6fd42a505cfac34b2879cf84beb8beef662..f8dd779965bf75e8210a81c8e2b3d1abeb2449b1 100644 (file)
@@ -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