diff --git a/tests/Makefile.am b/tests/Makefile.am index 8ee622e3622a..13cb443a368b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -13,7 +13,7 @@ SAILIB=-L$(top_srcdir)/vslib/src/.libs -lsaivs vssyncd_SOURCES = ../syncd/main.cpp vssyncd_CPPFLAGS = $(DBGFLAGS) $(AM_CPPFLAGS) $(CFLAGS_COMMON) $(SAIFLAGS) -vssyncd_LDADD = -lhiredis -lswsscommon $(SAILIB) -lpthread -L$(top_srcdir)/meta/.libs -lsaimetadata -lsaimeta -ldl ../syncd/libsyncd.a +vssyncd_LDADD = ../syncd/libsyncd.a -lhiredis -lswsscommon $(SAILIB) -lpthread -L$(top_srcdir)/meta/.libs -lsaimetadata -lsaimeta -ldl if SAITHRIFT vssyncd_LDADD += -lrpcserver -lthrift