]> 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>
Sun, 18 Sep 2022 19:22:21 +0000 (21:22 +0200)
* modules/time-c++-tests (Makefile.am): Link test-time-c++ against
$(LIB_CLOCK_GETTIME).

ChangeLog
modules/time-c++-tests

index 42f0ee99a9071bcfab04aeac9c47256438bddd3e..35a275a1c1593498a23f394d9f0d546a462860ff 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