engine: wscript: link libsocket on Solaris
This commit is contained in:
parent
8bebf698ef
commit
397f2f208a
1 changed files with 6 additions and 0 deletions
|
@ -98,6 +98,9 @@ def configure(conf):
|
|||
conf.env.append_unique('CFLAGS', '-mllvm')
|
||||
conf.env.append_unique('CFLAGS', '-wasm-enable-sjlj')
|
||||
|
||||
if conf.env.DEST_OS == 'sunos':
|
||||
conf.check_cc(lib='socket')
|
||||
|
||||
if conf.options.STATIC:
|
||||
conf.env.STATIC = True
|
||||
conf.define('XASH_NO_LIBDL',1)
|
||||
|
@ -223,6 +226,9 @@ def build(bld):
|
|||
'-lSceKernelDmacMgr_stub'
|
||||
]
|
||||
|
||||
if bld.env.DEST_OS == 'sunos':
|
||||
libs.append('SOCKET')
|
||||
|
||||
# add client files
|
||||
if not bld.env.DEDICATED:
|
||||
source += bld.path.ant_glob([
|
||||
|
|
Loading…
Add table
Reference in a new issue