diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-30 08:35:49 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-30 08:35:49 +0000 |
commit | 298249eb17e31c56c37214a3210f909c129a7ee7 (patch) | |
tree | 1431971bc6a14556ee18b7a5d0a6117068e4b316 | |
parent | 27f2b805b202d99892ef30467ded37e64d1f59b9 (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: http://svn.digium.com/svn/asterisk/trunk@23535 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |