From: octo Date: Fri, 21 Apr 2006 15:27:54 +0000 (+0000) Subject: Link liboping with `libsocket' if it's needed for `socket' to work. X-Git-Tag: svn-trunk~53 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=45b73176383a862c80121d064d72159a1008db25;p=collectd.git Link liboping with `libsocket' if it's needed for `socket' to work. --- diff --git a/src/liboping/Makefile.am b/src/liboping/Makefile.am index 14bd3ed6..8958aedc 100644 --- a/src/liboping/Makefile.am +++ b/src/liboping/Makefile.am @@ -8,4 +8,7 @@ noinst_LTLIBRARIES = liboping.la #liboping_la_CFLAGS = liboping_la_LDFLAGS = -avoid-version +if BUILD_WITH_LIBSOCKET +liboping_la_LDFLAGS += -lsocket +endif liboping_la_SOURCES = liboping.h liboping.c