From 5b184f32b5449bcd9d950e2a3bfd053d99e84636 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sat, 10 Jul 2010 00:47:54 +0000 Subject: [PATCH] [packages] python-curl: fix build failure * add a patch to prevent use of host static curl library SVN-Revision: 22109 --- lang/python-curl/patches/001-no_static.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lang/python-curl/patches/001-no_static.patch diff --git a/lang/python-curl/patches/001-no_static.patch b/lang/python-curl/patches/001-no_static.patch new file mode 100644 index 0000000000..3aa7706937 --- /dev/null +++ b/lang/python-curl/patches/001-no_static.patch @@ -0,0 +1,12 @@ +--- a/setup.py ++++ b/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:]) -- 2.30.2