Ok small nitpicks for OS X....

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2724 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2006-09-17 21:28:31 +00:00
parent 24ee2c2744
commit 1b48735d8c
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
LCFLAGS=-fPIC -DZTS -DPTHREADS -Xlinker -export-dynamic
LCFLAGS=-fPIC -DZTS -DPTHREADS -Xlinker
CFLAGS += -fPIC -I$(PREFIX)/include/python2.4/
PYMOD=freeswitch
LDFLAGS=-lpython2.4 -Xlinker -export-dynamic -L$(PREFIX)/lib/python2.4/config/
LDFLAGS=-lpython2.4 -Xlinker -L$(PREFIX)/lib/python2.4/config/
all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PYMOD).$(DYNAMIC_LIB_EXTEN)

View File

@ -29,6 +29,8 @@
*
*/
#include <Python.h>
#ifndef _REENTRANT
#define _REENTRANT
#endif
@ -37,8 +39,6 @@
#define _GNU_SOURCE
#endif
#include <Python.h>
#include <switch.h>
const char modname[] = "mod_python";