From c7b262ee61973a48943603810c8246a2471d1862 Mon Sep 17 00:00:00 2001 From: Kamil Cudnik Date: Thu, 24 Sep 2020 10:06:31 +0200 Subject: [PATCH] Add libzmq to Makefiles (#1443) libzmq is required since orchagent will compile against libsairedis --- orchagent/Makefile.am | 2 +- tests/mock_tests/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/orchagent/Makefile.am b/orchagent/Makefile.am index ac8db06be3be..fefadb2bb83b 100644 --- a/orchagent/Makefile.am +++ b/orchagent/Makefile.am @@ -66,7 +66,7 @@ orchagent_SOURCES += debug_counter/debug_counter.cpp debug_counter/drop_counter. orchagent_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_SAI) orchagent_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_SAI) -orchagent_LDADD = -lnl-3 -lnl-route-3 -lpthread -lsairedis -lswsscommon -lsaimeta -lsaimetadata +orchagent_LDADD = -lnl-3 -lnl-route-3 -lpthread -lsairedis -lswsscommon -lsaimeta -lsaimetadata -lzmq routeresync_SOURCES = routeresync.cpp routeresync_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) diff --git a/tests/mock_tests/Makefile.am b/tests/mock_tests/Makefile.am index d8a8036fb10e..b60cbb2106ba 100644 --- a/tests/mock_tests/Makefile.am +++ b/tests/mock_tests/Makefile.am @@ -71,4 +71,4 @@ tests_SOURCES += $(DEBUG_CTR_DIR)/debug_counter.cpp $(DEBUG_CTR_DIR)/drop_counte tests_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_GTEST) $(CFLAGS_SAI) tests_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_GTEST) $(CFLAGS_SAI) -I$(top_srcdir)/orchagent tests_LDADD = $(LDADD_GTEST) $(LDADD_SAI) -lnl-genl-3 -lhiredis -lhiredis -lpthread \ - -lswsscommon -lswsscommon -lgtest -lgtest_main + -lswsscommon -lswsscommon -lgtest -lgtest_main -lzmq