1From 2089b514045d2de64a5d9c54e241731e85d77df2 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Mon, 14 Dec 2020 22:11:59 -0800 4Subject: [PATCH] makefile.am: Fix build when build dir is not same as 5 sourcedir 6 7This ensures right include paths are added to compiler 8 9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10--- 11Upstream-Status: Pending 12 13 Makefile.am | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 15 16diff --git a/Makefile.am b/Makefile.am 17index eba85a1..da998ff 100644 18--- a/Makefile.am 19+++ b/Makefile.am 20@@ -19,7 +19,7 @@ if COND_DEBUG 21 MAYBE_DEBUG=-g -O0 22 endif 23 24-AM_CFLAGS = $(MAYBE_COVERAGE) $(MAYBE_DEBUG) $(MAYBE_TRACE) 25+AM_CFLAGS = $(MAYBE_COVERAGE) $(MAYBE_DEBUG) $(MAYBE_TRACE) -I$(srcdir)/inc 26 27 check_PROGRAMS = tests/test-shunting-yard 28 tests_test_shunting_yard_SOURCES = src/shunting-yard.c inc/shunting-yard.h \ 29-- 302.29.2 31 32