From 45b73176383a862c80121d064d72159a1008db25 Mon Sep 17 00:00:00 2001 From: octo Date: Fri, 21 Apr 2006 15:27:54 +0000 Subject: [PATCH] Link liboping with `libsocket' if it's needed for `socket' to work. --- src/liboping/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.11.0