From dcccc2ed71ca2971609db88975724d7e15d0d549 Mon Sep 17 00:00:00 2001
From: "Kevin P. Fleming" <kpfleming@digium.com>
Date: Tue, 25 Apr 2006 18:29:02 +0000
Subject: [PATCH] don't rely on default search paths for finding local include
 files

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 pbx/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pbx/Makefile b/pbx/Makefile
index 99846a23da..5cc655c0c9 100644
--- a/pbx/Makefile
+++ b/pbx/Makefile
@@ -54,10 +54,10 @@ pbx_ael.so: pbx_ael.o ael/aelbison.o ael/aelflex.o
 	$(CC) $(SOLINK) -o $@ pbx_ael.o ael/aelbison.o ael/aelflex.o
 
 ael/aelflex.o: ael/ael_lex.c ../include/asterisk/ael_structs.h ael/ael.tab.h
-	$(CC) $(CFLAGS) -c -o ael/aelflex.o ael/ael_lex.c
+	$(CC) $(CFLAGS) -I. -c -o ael/aelflex.o ael/ael_lex.c
 
 ael/aelbison.o: ael/ael.tab.c ael/ael.tab.h ../include/asterisk/ael_structs.h
-	$(CC) $(CFLAGS) -c -o ael/aelbison.o ael/ael.tab.c
+	$(CC) $(CFLAGS) -I. -c -o ael/aelbison.o ael/ael.tab.c
 
 ael/ael_lex.c: ael/ael.flex
 	(cd ael; flex ael.flex)
-- 
GitLab