From 4dc02b12c4fbd0fe80b1df4fe7737f9f57c43992 Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Wed, 28 Jul 2021 16:11:17 +0300 Subject: [PATCH] [#1999] add missing sysrepo compilation flags --- src/bin/netconf/tests/Makefile.am | 1 + src/lib/yang/testutils/Makefile.am | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/netconf/tests/Makefile.am b/src/bin/netconf/tests/Makefile.am index 0c5e5fd0a1..e25e62a3b7 100644 --- a/src/bin/netconf/tests/Makefile.am +++ b/src/bin/netconf/tests/Makefile.am @@ -10,6 +10,7 @@ AM_CPPFLAGS += -DCFG_EXAMPLES=\"$(abs_top_srcdir)/doc/examples/netconf\" AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(abs_top_builddir)/src/bin/netconf/tests\" AM_CPPFLAGS += -DSYNTAX_FILE=\"$(abs_srcdir)/../netconf_parser.yy\" AM_CPPFLAGS += $(BOOST_INCLUDES) $(CRYPTO_CFLAGS) $(CRYPTO_INCLUDES) +AM_CPPFLAGS += $(SYSREPO_CPPFLAGS) AM_CPPFLAGS += $(SYSREPO_INCLUDEDIR) CLEANFILES = *.json *.log diff --git a/src/lib/yang/testutils/Makefile.am b/src/lib/yang/testutils/Makefile.am index aa0ac23b22..21035d0454 100644 --- a/src/lib/yang/testutils/Makefile.am +++ b/src/lib/yang/testutils/Makefile.am @@ -1,7 +1,9 @@ SUBDIRS = . AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib -AM_CPPFLAGS += $(BOOST_INCLUDES) $(SYSREPO_CPPFLAGS) +AM_CPPFLAGS += $(BOOST_INCLUDES) +AM_CPPFLAGS += $(SYSREPO_CPPFLAGS) +AM_CPPFLAGS += $(SYSREPO_INCLUDEDIR) AM_CXXFLAGS = $(KEA_CXXFLAGS) CLEANFILES = *.gcno *.gcda