MINGW-packages/mingw-w64-python-scipy/001-no-static-linking.patch
2023-06-26 07:29:40 +01:00

12 lines
386 B
Diff

--- a/scipy/meson.build
+++ b/scipy/meson.build
@@ -7,7 +7,7 @@
cython_c_args = []
if is_mingw
# For mingw-w64, link statically against the UCRT.
- gcc_link_args = ['-lucrt', '-static']
+ gcc_link_args = []
add_project_link_arguments(gcc_link_args, language: ['c', 'cpp', 'fortran'])
# Force gcc to float64 long doubles for compatibility with MSVC
# builds, for C only.