mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-05-15 11:13:39 +00:00
13 lines
561 B
Python
13 lines
561 B
Python
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', 'profiler', 'symimporter'])
|
|
|
|
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()
|