summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-04-30 08:35:49 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-04-30 08:35:49 +0000
commit2dd3d523d3f5f4f5c4bd0790d1d38ea6685b03be (patch)
tree1431971bc6a14556ee18b7a5d0a6117068e4b316 /Makefile
parent6eb6343d9a3508d6f628782f135e416b27b232b0 (diff)
when compiling ast_expr2 from utils/ the current directory
is utils/ so the compiler fails to find the header which is in ../ (at least on FreeBSD; this works on linux but it may be due to differences in gmake). For the time being, fix it by adding -I.. to the includes. However i think a proper fix is to make sure that ast_expr2 is built using the rules in the top-level makefile instead of those in the subdirectory. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4a5f7b0b0..862e96801 100644
--- a/Makefile
+++ b/Makefile
@@ -252,7 +252,7 @@ ifeq ($(OSARCH),SunOS)
ID=/usr/xpg4/bin/id
endif
-INCLUDE+=-Iinclude -I../include
+INCLUDE+=-Iinclude -I../include -I..
ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) #-DMAKE_VALGRIND_HAPPY
ASTCFLAGS+=$(OPTIMIZE)