12 lines
503 B
Diff
12 lines
503 B
Diff
|
diff --git a/setup.py b/setup.py
|
||
|
index 688e7703..a86d2a2c 100755
|
||
|
--- a/setup.py
|
||
|
+++ b/setup.py
|
||
|
@@ -199,7 +199,7 @@ def get_python_flags(cflags: List[str]) -> List[str]:
|
||
|
ldlib = sysconfig.get_config_var('VERSION')
|
||
|
if ldlib:
|
||
|
libs += [f'-lpython{ldlib}{sys.abiflags}']
|
||
|
- libs += (sysconfig.get_config_var('LINKFORSHARED') or '').split()
|
||
|
+ libs += (sysconfig.get_config_var('LINKFORSHARED') or '').replace('-Wl,-stack_size,1000000', '').split()
|
||
|
return libs
|