From 88c9027cbbbd854b9999e4715c6f23dd126efc49 Mon Sep 17 00:00:00 2001
From: Lance <moodles2@users.sourceforge.net>
Date: Fri, 8 Jul 2011 10:57:35 +0000
Subject: [PATCH] Speex fix for Mac OS X

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3854 fc73d0e0-1445-4013-8a0c-d673dee63da5
---
 engine/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/engine/Makefile b/engine/Makefile
index f7056fd7c..ee01e533f 100644
--- a/engine/Makefile
+++ b/engine/Makefile
@@ -717,13 +717,13 @@ ifneq ($(shell echo $(FTE_TARGET)|grep macosx),)
 	GLCL_DIR=glcl_macosx$(EXTENSION)$(BITS)
 	MINGL_DIR=mingl_macosx$(EXTENSION)$(BITS)
 
-	GL_CFLAGS=$(GLCFLAGS) -D__MACOSX__ -L/sw/lib -I/sw/include -L/opt/local/lib -I/opt/local/include -I$(LIBS_DIR)
+	GL_CFLAGS=$(GLCFLAGS) -D__MACOSX__ -L/sw/lib -I/sw/include -L/opt/local/lib -I/opt/local/include -I$(LIBS_DIR) -I./libs/speex
 	ifeq ($(WHOAMI),moodles)
 		GL_CFLAGS+= -I/home/moodles/mac/include/ -L/home/moodles/mac/lib 
 	endif
 	
 	ifeq ($(FTE_TARGET),macosx_x86)
-		GL_CFLAGS=$(GLCFLAGS) -D__MACOSX__ -L/sw/lib -I/sw/include -L/opt/local/lib -I/opt/local/include -I$(LIBS_DIR)		
+		GL_CFLAGS=$(GLCFLAGS) -D__MACOSX__ -L/sw/lib -I/sw/include -L/opt/local/lib -I/opt/local/include -I$(LIBS_DIR) -I./libs/speex	
 		ifeq ($(WHOAMI),moodles)
 			GL_CFLAGS+= -I/home/moodles/mac/x86/include/ -L/home/moodles/mac/x86/lib
 		endif