Skip to content

Commit

Permalink
Windows: Newer gcc versions with static libssp need advapi32.dll
Browse files Browse the repository at this point in the history
advapi32.dll is a standard Windows system DLL.
  • Loading branch information
larskanis committed Dec 23, 2020
1 parent 96b1671 commit 772bd42
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rakelib/cross-ruby.rake
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,8 @@ CrossRuby = Struct.new(:version, :host) do
"kernel32.dll",
"msvcrt.dll",
"ws2_32.dll",
*(case
when ver >= "2.0.0"
"user32.dll"
end),
"user32.dll",
"advapi32.dll",
libruby_dll,
]
when LINUX_PLATFORM_REGEX
Expand Down

0 comments on commit 772bd42

Please sign in to comment.