Skip to content

Conversation

@rcbellN51
Copy link

@rcbellN51 rcbellN51 commented Jan 7, 2026

This fixes build and link failures on illumos/OpenIndiana:

  • Use the correct gethostbyname_r() signature for __sun || __illumos__
  • Link socket and nsl when building on SunOS (CMAKE_SYSTEM_NAME == "SunOS")

Guards ensure no behavior changes for Linux or macOS.

Tested on OpenIndiana (illumos).

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