diff --git a/cl_dll/wscript b/cl_dll/wscript index e225883..e3d3867 100644 --- a/cl_dll/wscript +++ b/cl_dll/wscript @@ -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', diff --git a/dlls/wscript b/dlls/wscript index 3577321..0fcbb06 100644 --- a/dlls/wscript +++ b/dlls/wscript @@ -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() diff --git a/wscript b/wscript index 7ba2cf7..e526e59 100644 --- a/wscript +++ b/wscript @@ -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':