comparison uwsgi-libffi-fix-cflags-libs.patch @ 4:851739edafa6

Update to version 1.9.21.1
author Guido Berhoerster <guido+packaging@berhoerster.name>
date Wed, 18 Dec 2013 21:01:23 +0100
parents
children
comparison
equal deleted inserted replaced
3:8f3c148d4f0d 4:851739edafa6
1 Index: uwsgi-1.9.21.1/plugins/libffi/uwsgiplugin.py
2 ===================================================================
3 --- uwsgi-1.9.21.1.orig/plugins/libffi/uwsgiplugin.py
4 +++ uwsgi-1.9.21.1/plugins/libffi/uwsgiplugin.py
5 @@ -1,5 +1,7 @@
6 +import os
7 +
8 NAME='libffi'
9 -CFLAGS=[]
10 +CFLAGS = os.popen('pkg-config --cflags libffi').read().rstrip().split()
11 LDFLAGS=[]
12 -LIBS=['-lffi']
13 +LIBS = os.popen('pkg-config --libs libffi').read().rstrip().split()
14 GCC_LIST=['libffi']