aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-curl/patches/100_macos_compat.patch
blob: ba5e0b8dab1b914ff65b372596482dacd8980158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()