mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 18:09:28 +00:00
SConstruct: need to link against socket library on SunOS
Tested on OpenIndiana 2021.10
This commit is contained in:
parent
be557f83d2
commit
902f7d37c4
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user