Skip to content

Conversation

@charlie-ht
Copy link

See: #22

Apparently the import library is called ws_32 on the mingw64 platform, search for that in addition to the other winsock libraries. If no library is found, bail out the compilation rather than silently continuing, which causes linker errors later.

This also fixes issues using -l in the AC_SEARCH_LIBS call. According to the documentation, you should only put the library name in this macro call, not he compiler's linker flag.

This worked for me in mingw64, did not test other targets.

Apparently the import library is called ws_32 on the mingw64 platform,
search for that in addition to the other winsock libraries. If no
library is found, bail out the compilation rather than silently
continuing, which causes lots of linker errors later.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant