mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-08 22:51:31 +00:00
16 lines
333 B
Python
16 lines
333 B
Python
import os
|
|
|
|
NAME='php'
|
|
|
|
try:
|
|
PHPPATH = os.environ['UWSGICONFIG_PHPPATH']
|
|
except:
|
|
PHPPATH = 'php-config'
|
|
|
|
CFLAGS = [os.popen(PHPPATH + ' --includes').read().rstrip()]
|
|
|
|
LDFLAGS = os.popen(PHPPATH + ' --ldflags').read().rstrip().split()
|
|
LIBS = [os.popen(PHPPATH + ' --libs').read().rstrip(), '-lphp5']
|
|
|
|
GCC_LIST = ['php_plugin']
|