SConstruct: need to link against socket library on SunOS

Tested on OpenIndiana 2021.10
This commit is contained in:
Larkin Nickle 2021-12-10 17:47:53 -05:00 committed by Pentarctagon
parent be557f83d2
commit 902f7d37c4

View File

@ -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")