0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 10:29:50 +00:00
packages/lang/python/python-curl/patches/100_macos_compat.patch
Waldemar Konik da564ae8cc python-curl: update to version 7.45.2
PycURL changeLog:

-----------------------------------------------------------------
PycURL 7.45.2 - 2022-12-16
-----------------------------------------------------------------
This release fixes several minor issues and adds support for several libcurl options.

-----------------------------------------------------------------
PycURL 7.45.1 - 2022-03-13
-----------------------------------------------------------------
This release fixes build when libcurl < 7.64.1 is used.

-----------------------------------------------------------------
PycURL 7.45.0 - 2022-03-09
-----------------------------------------------------------------
This release adds support for SecureTransport SSL backend (MacOS), adds ability to unset a number of multi options, adds ability to duplicate easy handles and permits pycurl classes to be subclassed.

-----------------------------------------------------------------
PycURL 7.44.1 - 2021-08-15
-----------------------------------------------------------------
This release repairs incorrect Python thread initialization logic which caused operations to hang.
-----------------------------------------------------------------

Signed-off-by: Waldemar Konik <informatyk74@interia.pl>

Compile tested: x86_64
2022-12-22 16:32:31 -08:00

16 lines
525 B
Diff

Support build on MacOS
This patch should be deleted after resolving https://github.com/pycurl/pycurl/issues/727
---
--- a/setup.py
+++ b/setup.py
@@ -341,9 +341,6 @@ ignore this message.''')
if not self.libraries:
self.libraries.append("curl")
- # Add extra compile flag for MacOS X
- if sys.platform.startswith('darwin'):
- self.extra_link_args.append("-flat_namespace")
# Recognize --avoid-stdio on Unix so that it can be tested
self.check_avoid_stdio()