Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put the GCC DLL replacement back #97

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if is_windows()
winrpm_bin = joinpath(WinRPM.installdir, "usr", Sys.MACHINE,
"sys-root", "mingw", "bin")
dlls = ["libgfortran-4", "libquadmath-0", "libstdc++-6", "libwinpthread-1",
"libssp-0", Compat.Sys.WORD_SIZE==32 ? "libgcc_s_sjlj-1" : "libgcc_s_seh-1"]
"libssp-0", Sys.WORD_SIZE==32 ? "libgcc_s_sjlj-1" : "libgcc_s_seh-1"]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WORD_SIZE was exported Base symbol so it was available in the Sys module even before it was moved there.

dlls_to_download = Compat.String[]
for lib in dlls
if !isfile(joinpath(winrpm_bin, lib * ".dll"))
Expand Down