author | Florian Forster <octo@collectd.org> | |
Thu, 11 Jun 2015 13:35:43 +0000 (14:35 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 25 May 2016 15:47:27 +0000 (17:47 +0200) | ||
commit | c51727b2b7757dc289608e2b46b4364d41ae7c69 | |
tree | 4bedf036fb0650281ae90d9a3a1b6e077de2c2b3 | tree | snapshot |
parent | d3a3f563af58d3d4de28e7bbd5dc217636469644 | 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
(cherry picked from commit 6213557b1d5c79a60e9c4322263836ca6066aa0e)
"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
(cherry picked from commit 6213557b1d5c79a60e9c4322263836ca6066aa0e)
src/daemon/Makefile.am | diff | blob | history |