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