mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 21:51:30 +00:00
10 lines
324 B
Python
10 lines
324 B
Python
import os
|
|
|
|
NAME='probepg'
|
|
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 = ['pgprobe']
|