Blame SOURCES/open-lldp-v1.0.1-20-lldp-automake-fix-drop-prefix-on-vdptool_LDADD.patch

89f6b3
From 7a7150e3e6443e2fff0f3967995fa16a4b8665d7 Mon Sep 17 00:00:00 2001
89f6b3
From: John Fastabend <john.r.fastabend@intel.com>
89f6b3
Date: Fri, 30 Jan 2015 08:55:00 -0800
89f6b3
Subject: [PATCH] lldp: automake fix, drop prefix on vdptool_LDADD
89f6b3
89f6b3
Add another fix to the Makefile to drop prefix in vdptool_LDADD
89f6b3
this resolves the following error from 'make distcheck'
89f6b3
89f6b3
libtool: link: cannot find the library `../liblldp_clif.la' or unhandled argument `../liblldp_clif.la'
89f6b3
make[1]: *** [vdptool] Error 1
89f6b3
make[1]: Leaving directory `/home/john/git/lldp/lldpad/lldpad-1.0.1/_build'
89f6b3
make: *** [distcheck] Error 1
89f6b3
89f6b3
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
89f6b3
---
89f6b3
 Makefile.am | 2 +-
89f6b3
 1 file changed, 1 insertion(+), 1 deletion(-)
89f6b3
89f6b3
diff --git a/Makefile.am b/Makefile.am
89f6b3
index b1c381b..84d68ee 100644
89f6b3
--- a/Makefile.am
89f6b3
+++ b/Makefile.am
89f6b3
@@ -82,7 +82,7 @@ liblldp_clif_includedir = ${srcdir}/include
89f6b3
 liblldp_clif_la_SOURCES = clif.c
89f6b3
 
89f6b3
 vdptool_SOURCES = vdptool.c lldp_util.c qbg/vdp22_clif.c vdptool_cisco_oui.c
89f6b3
-vdptool_LDADD = ${srcdir}/liblldp_clif.la
89f6b3
+vdptool_LDADD = liblldp_clif.la
89f6b3
 vdptool_LDFLAGS = -llldp_clif $(LIBNL_LIBS)
89f6b3
 
89f6b3
 dcbtool_SOURCES = dcbtool.c dcbtool_cmds.c parse_cli.l \
89f6b3
-- 
89f6b3
2.1.0
89f6b3