From f6f0e99efdbae40491f56e3dd1c871d1db1f0c28 Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Fri, 30 Apr 2010 23:34:36 +0200 Subject: [PATCH] tell gcc where to look for includes needed to create switch_swigable_cpp.h, build fails otherwise --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4bd09c7f0d..3bc9e0807f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -253,8 +253,10 @@ $(top_builddir)/libfreeswitch_la-switch_console.lo: src/include/switch_version.h $(libfreeswitch_la_SOURCES): $(CORE_LIBS) $(switch_builddir)/quiet_libtool $(switch_builddir)/modules.conf src/include/switch_swigable_cpp.h: $(switch_srcdir)/src/include/switch_cpp.h - $(CC) -E $(switch_srcdir)/src/include/switch_cpp.h -DSWITCH_DECLARE_CLASS= -DSWITCH_DECLARE\(x\)=x -DSWITCH_DECLARE_CONSTRUCTOR= -DSWITCH_DECLARE_NONSTD\(x\)=x 2>/dev/null | grep -v "^#" > src/include/switch_swigable_cpp.h - + $(CC) -E $(switch_srcdir)/src/include/switch_cpp.h \ + -I$(switch_srcdir)/src/include -I$(switch_srcdir)/libs/libteletone/src \ + -DSWITCH_DECLARE_CLASS= -DSWITCH_DECLARE\(x\)=x -DSWITCH_DECLARE_CONSTRUCTOR= \ + -DSWITCH_DECLARE_NONSTD\(x\)=x 2>/dev/null | grep -v "^#" > src/include/switch_swigable_cpp.h ## ## Applications