Mercurial > packages > rhel6 > uwsgi
view uwsgi-libffi-fix-cflags-libs.patch @ 5:e6b2af6272a4
Update to version 2.0
author | Guido Berhoerster <guido+packaging@berhoerster.name> |
---|---|
date | Wed, 08 Jan 2014 19:46:46 +0100 |
parents | 851739edafa6 |
children |
line wrap: on
line source
Index: uwsgi-1.9.21.1/plugins/libffi/uwsgiplugin.py =================================================================== --- uwsgi-1.9.21.1.orig/plugins/libffi/uwsgiplugin.py +++ uwsgi-1.9.21.1/plugins/libffi/uwsgiplugin.py @@ -1,5 +1,7 @@ +import os + NAME='libffi' -CFLAGS=[] +CFLAGS = os.popen('pkg-config --cflags libffi').read().rstrip().split() LDFLAGS=[] -LIBS=['-lffi'] +LIBS = os.popen('pkg-config --libs libffi').read().rstrip().split() GCC_LIST=['libffi']