From 5d370a29a05782df9e61bc18b189aec3f97c2d05 Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Thu, 29 Sep 2016 09:03:31 -0400 Subject: [PATCH] vnc: look for librfp.a in builddir --- bgpd/Makefile.am | 2 +- tests/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bgpd/Makefile.am b/bgpd/Makefile.am index ebd7932bd1..1730f5cdb8 100644 --- a/bgpd/Makefile.am +++ b/bgpd/Makefile.am @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = subdir-objects if ENABLE_BGP_VNC #o file to keep linker happy -BGP_VNC_RFP_LIB=rfapi/rfapi_descriptor_rfp_utils.o @top_srcdir@/$(LIBRFP)/librfp.a +BGP_VNC_RFP_LIB=rfapi/rfapi_descriptor_rfp_utils.o @top_builddir@/$(LIBRFP)/librfp.a BGP_VNC_RFP_INC=-I@top_srcdir@/$(RFPINC) BGP_VNC_RFP_HD=\ @top_srcdir@/$(RFPINC)/rfp.h diff --git a/tests/Makefile.am b/tests/Makefile.am index 0014fa34d1..76280f7189 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -26,7 +26,7 @@ TESTS_BGPD = endif if ENABLE_BGP_VNC -BGP_VNC_RFP_LIB=@top_srcdir@/$(LIBRFP)/librfp.a +BGP_VNC_RFP_LIB=@top_builddir@/$(LIBRFP)/librfp.a else BGP_VNC_RFP_LIB = endif