Code

Link libcmds (used for testing) against -lm.
authorSebastian Harl <sh@tokkee.org>
Fri, 10 Jun 2016 18:50:04 +0000 (20:50 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 25 Sep 2016 10:42:45 +0000 (12:42 +0200)
FreeBSD requires this for isfinite().

src/Makefile.am

index d1249928d6ca7668d111716034e84d1da1564be6..0829c02e9cdbe1c6d462b283e18f5037f9848dec 100644 (file)
@@ -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