Skip to content

Commit

Permalink
SConstruct: need to link against socket library on SunOS
Browse files Browse the repository at this point in the history
Tested on OpenIndiana 2021.10
  • Loading branch information
larb0b authored and Pentarctagon committed Dec 13, 2021
1 parent be557f8 commit 902f7d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SConstruct
Expand Up @@ -637,6 +637,9 @@ for env in [test_env, client_env, env]:
env.Append(FRAMEWORKS = "IOKit") # IOKit
env.Append(FRAMEWORKS = "CoreGraphics") # CoreGraphics

if env["PLATFORM"] == 'sunos':
env.Append(LINKFLAGS = "-lsocket")

if not env['static_test']:
test_env.Append(CPPDEFINES = "BOOST_TEST_DYN_LINK")

Expand Down

0 comments on commit 902f7d3

Please sign in to comment.