@@ 27,8 27,8 @@ add_executable(jasm ${jasm_src})
if (${MINGW})
add_custom_command(TARGET jasm POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy_if_different "/usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libgcc_s_seh-1.dll" $<TARGET_FILE_DIR:jasm>
- COMMAND ${CMAKE_COMMAND} -E copy_if_different "/usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libstdc++-6.dll" $<TARGET_FILE_DIR:jasm>
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different "/usr/lib/gcc/x86_64-w64-mingw32/10-win32/libgcc_s_seh-1.dll" $<TARGET_FILE_DIR:jasm>
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different "/usr/lib/gcc/x86_64-w64-mingw32/10-win32/libstdc++-6.dll" $<TARGET_FILE_DIR:jasm>
)
endif()
@@ 55,7 55,7 @@ def build_mingw(version):
if error_code != 0:
raise Exception("Failed to compress")
os.chdir("..")
- error_code = run(["7z", "a", "../jasm/website/site/binaries/jasm_%s_win64.7z" % version, "/usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libgcc_s_seh-1.dll", "/usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libstdc++-6.dll"])
+ error_code = run(["7z", "a", "../jasm/website/site/binaries/jasm_%s_win64.7z" % version, "/usr/lib/gcc/x86_64-w64-mingw32/10-win32/libgcc_s_seh-1.dll", "/usr/lib/gcc/x86_64-w64-mingw32/10-win32/libstdc++-6.dll"])
if error_code != 0:
raise Exception("Failed to compress")
finally: