python25, python26 plugins

This commit is contained in:
roberto@sirius
2010-10-25 08:47:31 +02:00
parent 8dde9c2984
commit bee3ba73d8
2 changed files with 24 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import os,sys
NAME='python25'
GCC_LIST = map(lambda x: '../python/' + x, ['python_plugin', 'pyutils', 'pyloader', 'wsgi_handlers', 'wsgi_headers', 'wsgi_subhandler', 'gil', 'uwsgi_pymodule'])
CFLAGS = os.popen('python2.5-config --cflags').read().rstrip().split()
CFLAGS.append('-Wno-unused-parameter')
CFLAGS.append('-Wno-strict-prototypes')
CFLAGS.append('-Dpython_plugin=python25_plugin')
LDFLAGS = os.popen('python2.5-config --ldflags').read().rstrip().split()
LIBS = os.popen('python2.5-config --libs').read().rstrip().split()