summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-pycurl/no-static-link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python-pycurl/no-static-link.patch')
-rw-r--r--meta/recipes-devtools/python/python-pycurl/no-static-link.patch25
1 files changed, 12 insertions, 13 deletions
diff --git a/meta/recipes-devtools/python/python-pycurl/no-static-link.patch b/meta/recipes-devtools/python/python-pycurl/no-static-link.patch
index c97f5dc029..e8c0005a77 100644
--- a/meta/recipes-devtools/python/python-pycurl/no-static-link.patch
+++ b/meta/recipes-devtools/python/python-pycurl/no-static-link.patch
@@ -1,16 +1,15 @@
1Upstream-Status: Pending 1Upstream-Status: Pending
2 2
3Index: pycurl-7.18.2/setup.py 3Index: pycurl-7.19.0.2/setup.py
4=================================================================== 4===================================================================
5--- pycurl-7.18.2.orig/setup.py 5--- pycurl-7.19.0.2.orig/setup.py 2013-10-08 15:28:53.000000000 +0300
6+++ pycurl-7.18.2/setup.py 6+++ pycurl-7.19.0.2/setup.py 2013-11-04 13:46:47.928292585 +0200
7@@ -97,8 +97,7 @@ else: 7@@ -101,7 +101,7 @@
8 else: 8 # support one or the other of these curl-config options, so gracefully
9 extra_compile_args.append(e) 9 # tolerate failure of either, but not both.
10 libs = split_quoted( 10 optbuf = ""
11- os.popen("'%s' --libs" % CURL_CONFIG).read()+\ 11- for option in ["--libs", "--static-libs"]:
12- os.popen("'%s' --static-libs" % CURL_CONFIG).read()) 12+ for option in ["--libs"]:
13+ os.popen("'%s' --libs" % CURL_CONFIG).read()) 13 p = subprocess.Popen("'%s' %s" % (CURL_CONFIG, option), shell=True,
14 for e in libs: 14 stdout=subprocess.PIPE)
15 if e[:2] == "-l": 15 (stdout, stderr) = p.communicate()
16 libraries.append(e[2:])