[svn-commits] trunk r23535 - /trunk/Makefile

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Apr 30 01:35:49 MST 2006


Author: rizzo
Date: Sun Apr 30 03:35:49 2006
New Revision: 23535

URL: http://svn.digium.com/view/asterisk?rev=23535&view=rev
Log:
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.


Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?rev=23535&r1=23534&r2=23535&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sun Apr 30 03:35:49 2006
@@ -252,7 +252,7 @@
   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)
 



More information about the svn-commits mailing list