[v1,1/1] test: fix cunit include path

Message ID 1501516805-17362-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • [v1,1/1] test: fix cunit include path
Related show

Commit Message

Github ODP bot July 31, 2017, 4 p.m.
From: Maxim Uvarov <maxim.uvarov@linaro.org>


If CUnit is places in non standard directory and path
to it specified with configure option following error
occurs:
fatal error: CUnit/Basic.h: No such file or directory
Patch corrects CFLAGS to make compilation pass.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 96 (muvarov:master_fix_cunit_path)
 ** https://github.com/Linaro/odp/pull/96
 ** Patch: https://github.com/Linaro/odp/pull/96.patch
 ** Base sha: 79336f5eaee25168a5e4ad7fc0aee07395d4ca1f
 ** Merge commit sha: 578d55f65b1375e18ccae68c7facdfb51f74d6ac
 **/
 test/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/test/Makefile.inc b/test/Makefile.inc
index bf31b374..0fbc3c42 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -16,6 +16,7 @@  INCFLAGS = \
 	-I$(top_builddir)/include
 
 AM_CFLAGS += $(INCFLAGS)
+AM_CPPFLAGS += $(CUNIT_CPPFLAGS)
 AM_CXXFLAGS = $(INCFLAGS)
 
 AM_LDFLAGS += -L$(LIB)