Skip to content

Commit 057560f

Browse files
committed
libgcc_s
1 parent 20cf958 commit 057560f

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

recipe/bld.bat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@ if errorlevel 1 exit 1
4141

4242
set dep_dir=%LIBRARY_BIN%
4343
%PYTHON% %RECIPE_DIR%\fix_windows_wheel.py ^
44-
%dep_dir%\libgmp-10.dll ^
45-
%dep_dir%\libmpfr-6.dll ^
46-
%dep_dir%\libmpc-3.dll ^
47-
%dep_dir%\flint-19.dll ^
44+
%dep_dir%\libgmp-*.dll ^
45+
%dep_dir%\libmpfr-*.dll ^
46+
%dep_dir%\libmpc-*.dll ^
47+
%dep_dir%\flint-*.dll ^
4848
%dep_dir%\libwinpthread-1.dll ^
4949
%dep_dir%\zstd.dll ^
50-
%dep_dir%\zlib.dll
50+
%dep_dir%\zlib.dll ^
51+
%dep_dir%\libgcc_s_seh-1.dll
5152
if errorlevel 1 exit 1
5253

5354
mkdir %RECIPE_DIR%\..\build_artifacts

recipe/fix_windows_wheel.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ def add_library(lib_paths, dist_path='dist'):
1818
shutil.copy2(lib_path, pjoin('symengine', 'lib'))
1919

2020
def main():
21-
args = list(sys.argv)
22-
args.pop(0)
21+
args = [sys.argv[1]]
22+
for arg in sys.argv[2:]:
23+
args.extend(glob(arg))
2324
add_library(args)
2425

2526
if __name__ == '__main__':

0 commit comments

Comments
 (0)