don't specify this include in the menuselect Makefile, because asterisk-addons
authorRussell Bryant <russell@russellbryant.com>
Sat, 1 Jul 2006 03:27:37 +0000 (03:27 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 1 Jul 2006 03:27:37 +0000 (03:27 +0000)
doesn't have an include dir

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36464 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index ece1b6c..5e78ebb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -885,7 +885,7 @@ menuselect: menuselect/menuselect makeopts.xml
        -@menuselect/menuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && echo "menuselect changes saved!" || echo "menuselect changes NOT saved!"
 
 menuselect/menuselect: menuselect/menuselect.c menuselect/menuselect_curses.c menuselect/menuselect.h menuselect/linkedlists.h config.status mxml/libmxml.a
-       @CFLAGS="-include $(PWD)/include/asterisk/autoconfig.h" PARENTSRC="$(PWD)" $(MAKE) -C menuselect menuselect
+       @CFLAGS="-include $(PWD)/include/asterisk/autoconfig.h -I$(PWD)/include" PARENTSRC="$(PWD)" $(MAKE) -C menuselect menuselect
 
 mxml/libmxml.a:
        @cd mxml && unset CFLAGS LIBS && test -f config.h || ./configure