Skip to content

Commit

Permalink
Recognize ws2_32.dll as a system library
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Aug 12, 2020
1 parent 7ad53f6 commit 320a805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-dependencies.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ Function GetFileType(ByVal binName)
GetFileType = FILETYPE_MINGW_DLL
Exit Function
End If
rx.Pattern = "^(advapi32|kernel32|msvcrt|user32)\.dll"
rx.Pattern = "^(advapi32|kernel32|msvcrt|user32|ws2_32)\.dll"
If rx.Test(binName) Then
GetFileType = FILETYPE_WINDOWS_DLL
Exit Function
Expand Down

0 comments on commit 320a805

Please sign in to comment.