Mercurial > packages > rhel6 > uwsgi
annotate 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 |
rev | line source |
---|---|
4
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
1 Index: uwsgi-1.9.21.1/plugins/libffi/uwsgiplugin.py |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
2 =================================================================== |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
3 --- uwsgi-1.9.21.1.orig/plugins/libffi/uwsgiplugin.py |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
4 +++ uwsgi-1.9.21.1/plugins/libffi/uwsgiplugin.py |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
5 @@ -1,5 +1,7 @@ |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
6 +import os |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
7 + |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
8 NAME='libffi' |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
9 -CFLAGS=[] |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
10 +CFLAGS = os.popen('pkg-config --cflags libffi').read().rstrip().split() |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
11 LDFLAGS=[] |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
12 -LIBS=['-lffi'] |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
13 +LIBS = os.popen('pkg-config --libs libffi').read().rstrip().split() |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
14 GCC_LIST=['libffi'] |