Added $(LIB_CLOCK_GETTIME) to unit test linkage

On systems with separate librt we need this to successfully
link the unit test program.

Reported-by: kdevel@vogtner.de
This commit is contained in:
Tim Rühsen 2014-11-04 03:30:31 -06:00
parent 43e5f022e2
commit b6d8e1e707
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2014-11-05 Tim Ruehsen <tim.ruehsen@gmx.de>
* Makefile.am: added $(LIB_CLOCK_GETTIME) to unit test linkage
Reported-by: kdevel@vogtner.de
2014-11-05 Tim Ruehsen <tim.ruehsen@gmx.de>
* Test-stdouterr.px: fix skip exit code to 77

View File

@ -135,7 +135,7 @@ EXTRA_DIST = FTPServer.pm FTPTest.pm HTTPServer.pm HTTPTest.pm \
check_PROGRAMS = unit-tests
unit_tests_SOURCES =
LDADD = ../src/libunittest.a ../lib/libgnu.a $(LIBS)
LDADD = ../src/libunittest.a ../lib/libgnu.a $(LIBS) $(LIB_CLOCK_GETTIME)
CLEANFILES = *~ *.bak core core.[0-9]*