wscript: link libm and libdl

This commit is contained in:
Alibek Omarov 2023-09-09 18:18:57 +03:00
parent d658b36616
commit 12e13ae9d6
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ def configure(conf):
conf.fatal('VGUI was enabled but VGUI cannot be used')
def build(bld):
libs = ['VGUI', 'SDL']
libs = ['VGUI', 'SDL', 'DL', 'M']
defines = ['CLIENT_DLL']
includes = ['.',
'../dlls',

View File

@ -101,6 +101,7 @@ def build(bld):
features = 'c cxx',
includes = includes,
defines = defines,
use = ['M']
install_path = install_path,
subsystem = bld.env.MSVC_SUBSYSTEM,
idx = bld.get_taskgen_count()

View File

@ -175,8 +175,7 @@ def configure(conf):
for i in a:
conf.check_cc(lib = i)
else:
if conf.env.GOLDSOURCE_SUPPORT:
conf.check_cc(lib='dl')
conf.check_cc(lib='dl')
conf.check_cc(lib='m')
if conf.env.COMPILER_CC == 'msvc':