From 92078815f5eb45889d18116db07afbe605d38e2f Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Thu, 15 Oct 2020 13:41:49 -0700 Subject: [PATCH] [lib-url] update 'Makefile' to include 'src/core' in header path search (#5659) The `url.cpp` can use core header files (e.g. `common/core_utils.hpp`) This change ensure the core header files should be able to see each other (e.g., `code_utils.hpp` including `arg_macros.hpp`). --- src/lib/url/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/url/Makefile.am b/src/lib/url/Makefile.am index 099921b13..11037e2a9 100644 --- a/src/lib/url/Makefile.am +++ b/src/lib/url/Makefile.am @@ -33,6 +33,7 @@ noinst_LIBRARIES = libopenthread-url.a libopenthread_url_a_CPPFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/core \ $(NULL) libopenthread_url_a_SOURCES = \ @@ -45,6 +46,7 @@ check_PROGRAMS = test-url test_url_CPPFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/core \ -DSELF_TEST \ $(NULL)