From: Sebastian Harl Date: Fri, 10 Jun 2016 18:50:04 +0000 (+0200) Subject: Link libcmds (used for testing) against -lm. X-Git-Tag: collectd-5.7.0~49^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=60bd99df46327b90854a638fac40766a823a818c;p=collectd.git Link libcmds (used for testing) against -lm. FreeBSD requires this for isfinite(). --- diff --git a/src/Makefile.am b/src/Makefile.am index d1249928..0829c02e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -56,7 +56,8 @@ libcmds_la_SOURCES = utils_cmds.c utils_cmds.h \ utils_cmd_listval.c utils_cmd_listval.h \ utils_cmd_putval.c utils_cmd_putval.h \ utils_parse_option.c -libcmds_la_LIBADD = daemon/libcommon.la daemon/libplugin_mock.la daemon/libmetadata.la +libcmds_la_LIBADD = daemon/libcommon.la daemon/libmetadata.la \ + daemon/libplugin_mock.la -lm check_PROGRAMS += test_utils_cmds TESTS += test_utils_cmds test_utils_cmds_SOURCES = utils_cmds_test.c testing.h