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

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