Code

Link libcommon.la with $(COMMON_LIBS).
authorFlorian Forster <octo@collectd.org>
Tue, 14 Jul 2015 07:00:49 +0000 (09:00 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 25 May 2016 15:24:12 +0000 (17:24 +0200)
commitdeb62277abc42463d6762d4fb58e1e7df2994b6b
tree1d6adbe9a85bc4c8b2008ca45673227a2b924375
parent2c7b491427fd84c9e24c9d41686a15ce42219a0b
Link libcommon.la with $(COMMON_LIBS).

This hopefully fixes link errors on Solaris:

  CCLD     test_utils_vl_lookup
Undefined first referenced
 symbol       in file
kstat_data_lookup                   daemon/.libs/libcommon.a(common.o)
kstat_lookup                        daemon/.libs/libcommon.a(common.o)
kstat_read                          daemon/.libs/libcommon.a(common.o)
getaddrinfo                         daemon/.libs/libcommon.a(common.o)
freeaddrinfo                        daemon/.libs/libcommon.a(common.o)
gai_strerror                        daemon/.libs/libcommon.a(common.o)
ld: fatal: symbol referencing errors. No output written to test_utils_vl_lookup
collect2: error: ld returned 1 exit status

(cherry picked from commit fe2eee98f4b1cf8c5a5df6ed6cd03d8487c695be)

Conflicts:
src/daemon/Makefile.am
src/daemon/Makefile.am