From f24bd4369621b594d78a45bb9ae75d3e22b52df1 Mon Sep 17 00:00:00 2001
From: Ludovic Pouzenc <ludovic@pouzenc.fr>
Date: Sun, 24 Jul 2016 17:18:34 +0200
Subject: gnulib : fix automake configuration to link against it.

---
 mcastseed/src/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'mcastseed')

diff --git a/mcastseed/src/Makefile.am b/mcastseed/src/Makefile.am
index 1e3351c..c49cf70 100644
--- a/mcastseed/src/Makefile.am
+++ b/mcastseed/src/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-AM_CPPFLAGS = -I ../lib
+AM_CPPFLAGS = -I $(top_srcdir)/lib
 AM_CFLAGS =\
 	 -Wall \
 	 -Wextra \
@@ -13,5 +13,6 @@ bin_PROGRAMS = mcastseed mcastleech random_speed_dd
 
 mcastseed_SOURCES = mcastseed.c sockets.c
 mcastleech_SOURCES = mcastleech.c sockets.c dgrambuf.c
+mcastleech_LDADD = $(top_builddir)/lib/libgnu.a
 random_speed_dd_SOURCES = random_speed_dd.c
 
-- 
cgit v1.2.3