From 30330d92d1ec77a2bf89437d39f16c76075f242b Mon Sep 17 00:00:00 2001 From: nico 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 git-svn-id: svn://svn.openwrt.org/openwrt/packages@22109 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 000000000..3aa770693 --- /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:])