mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-08-19 12:06:36 +00:00
14 lines
343 B
Python
14 lines
343 B
Python
import os
|
|
|
|
NAME = 'emperor_pg'
|
|
|
|
CFLAGS = os.popen('pg_config --cflags').read().rstrip().split()
|
|
CFLAGS.append('-I' + os.popen('pg_config --includedir').read().rstrip())
|
|
LDFLAGS = os.popen('pg_config --ldflags').read().rstrip().split()
|
|
LIBS = [
|
|
'-L' + os.popen('pg_config --libdir').read().rstrip(),
|
|
'-lpq'
|
|
]
|
|
|
|
GCC_LIST = ['emperor_pg']
|