diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsgi-libffi-fix-cflags-libs.patch	Wed Dec 18 21:01:23 2013 +0100
@@ -0,0 +1,14 @@
+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']