summaryrefslogtreecommitdiff
path: root/recipes/python/python-pycurl/no-static-link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/python/python-pycurl/no-static-link.patch')
-rw-r--r--recipes/python/python-pycurl/no-static-link.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/python/python-pycurl/no-static-link.patch b/recipes/python/python-pycurl/no-static-link.patch
new file mode 100644
index 0000000000..b7c5ab9c9c
--- /dev/null
+++ b/recipes/python/python-pycurl/no-static-link.patch
@@ -0,0 +1,14 @@
+Index: pycurl-7.18.2/setup.py
+===================================================================
+--- pycurl-7.18.2.orig/setup.py
++++ pycurl-7.18.2/setup.py
+@@ -97,8 +97,7 @@ else:
+ else:
+ extra_compile_args.append(e)
+ libs = split_quoted(
+- os.popen("'%s' --libs" % CURL_CONFIG).read()+\
+- os.popen("'%s' --static-libs" % CURL_CONFIG).read())
++ os.popen("'%s' --libs" % CURL_CONFIG).read())
+ for e in libs:
+ if e[:2] == "-l":
+ libraries.append(e[2:])