author | Florian Forster <octo@collectd.org> | |
Thu, 11 Jun 2015 13:35:43 +0000 (14:35 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 11 Jun 2015 13:35:43 +0000 (14:35 +0100) | ||
commit | 6213557b1d5c79a60e9c4322263836ca6066aa0e | |
tree | 75d794fbfd2b99aaa3c072a8e2a4875b22ace32c | tree | snapshot |
parent | 0a3cf365418e4ac9a8d7c1d1069740743673a09a | commit | diff |
Makefile.am: Link tests with required libraries, too.
"make check" fails on Solaris because libraries are missing:
CCLD test_common
Undefined first referenced
symbol in file
kc ./.libs/libcommon.a(common.o)
kstat_data_lookup ./.libs/libcommon.a(common.o)
kstat_lookup ./.libs/libcommon.a(common.o)
kstat_read ./.libs/libcommon.a(common.o)
getaddrinfo ./.libs/libcommon.a(common.o)
freeaddrinfo ./.libs/libcommon.a(common.o)
gai_strerror ./.libs/libcommon.a(common.o)
ld: fatal: symbol referencing errors. No output written to test_common
collect2: error: ld returned 1 exit status
"make check" fails on Solaris because libraries are missing:
CCLD test_common
Undefined first referenced
symbol in file
kc ./.libs/libcommon.a(common.o)
kstat_data_lookup ./.libs/libcommon.a(common.o)
kstat_lookup ./.libs/libcommon.a(common.o)
kstat_read ./.libs/libcommon.a(common.o)
getaddrinfo ./.libs/libcommon.a(common.o)
freeaddrinfo ./.libs/libcommon.a(common.o)
gai_strerror ./.libs/libcommon.a(common.o)
ld: fatal: symbol referencing errors. No output written to test_common
collect2: error: ld returned 1 exit status
src/daemon/Makefile.am | diff | blob | history |