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:
parent
24ee2c2744
commit
1b48735d8c
|
@ -1,7 +1,7 @@
|
||||||
LCFLAGS=-fPIC -DZTS -DPTHREADS -Xlinker -export-dynamic
|
LCFLAGS=-fPIC -DZTS -DPTHREADS -Xlinker
|
||||||
CFLAGS += -fPIC -I$(PREFIX)/include/python2.4/
|
CFLAGS += -fPIC -I$(PREFIX)/include/python2.4/
|
||||||
PYMOD=freeswitch
|
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)
|
all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PYMOD).$(DYNAMIC_LIB_EXTEN)
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <Python.h>
|
||||||
|
|
||||||
#ifndef _REENTRANT
|
#ifndef _REENTRANT
|
||||||
#define _REENTRANT
|
#define _REENTRANT
|
||||||
#endif
|
#endif
|
||||||
|
@ -37,8 +39,6 @@
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Python.h>
|
|
||||||
|
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
|
|
||||||
const char modname[] = "mod_python";
|
const char modname[] = "mod_python";
|
||||||
|
|
Loading…
Reference in New Issue