Skip to content

Commit

Permalink
[syncd] Change order of libs in Makefile.am (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik authored Apr 7, 2020
1 parent f4d9398 commit d89eb59
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions syncd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit d89eb59

Please sign in to comment.