From d89eb59e0394778b093a2af9ddfc6c8689a11f91 Mon Sep 17 00:00:00 2001 From: Kamil Cudnik Date: Tue, 7 Apr 2020 19:43:05 +0200 Subject: [PATCH] [syncd] Change order of libs in Makefile.am (#593) --- syncd/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/syncd/Makefile.am b/syncd/Makefile.am index 767f80437a17..2ff5dbb7c8fa 100644 --- a/syncd/Makefile.am +++ b/syncd/Makefile.am @@ -62,7 +62,7 @@ libsyncd_a_CPPFLAGS = $(DBGFLAGS) $(AM_CPPFLAGS) $(CFLAGS_COMMON) $(SAIFLAGS) -s syncd_SOURCES = main.cpp syncd_CPPFLAGS = $(DBGFLAGS) $(AM_CPPFLAGS) $(CFLAGS_COMMON) $(SAIFLAGS) -syncd_LDADD = -lhiredis -lswsscommon $(SAILIB) -lpthread -L$(top_srcdir)/meta/.libs -lsaimetadata -lsaimeta -ldl libsyncd.a +syncd_LDADD = -L$(top_srcdir)/meta/.libs libsyncd.a -lsaimetadata -lsaimeta -ldl -lhiredis -lswsscommon $(SAILIB) -lpthread if SAITHRIFT libsyncd_a_CPPFLAGS += -DSAITHRIFT=yes @@ -91,6 +91,5 @@ syncd_request_shutdown_LDADD = -lhiredis -lswsscommon -lpthread tests_SOURCES = tests.cpp tests_CPPFLAGS = $(DBGFLAGS) $(AM_CPPFLAGS) $(CFLAGS_COMMON) -tests_LDADD = -lhiredis -lswsscommon -lpthread -L$(top_srcdir)/lib/src/.libs -lsairedis -L$(top_srcdir)/meta/.libs -lsaimetadata -lsaimeta libsyncd.a - +tests_LDADD = libsyncd.a -lhiredis -lswsscommon -lpthread -L$(top_srcdir)/lib/src/.libs -lsairedis -L$(top_srcdir)/meta/.libs -lsaimetadata -lsaimeta TESTS = tests