mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
engine: wscript: link libsocket on Solaris
This commit is contained in:
parent
8bebf698ef
commit
397f2f208a
@ -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…
Reference in New Issue
Block a user