Fix CreateThreadPool

This commit is contained in:
exstrim401
2022-11-20 19:32:30 +02:00
parent 54d76a1131
commit d8580d59d2
9 changed files with 12 additions and 9 deletions

View File

@@ -285,7 +285,7 @@ private:
//-----------------------------------------------------------------------------
JOB_INTERFACE IThreadPool *CreateThreadPool1()
JOB_INTERFACE IThreadPool *CreateThreadPool()
{
return new CThreadPool;
}

View File

@@ -48,11 +48,13 @@ def build(bld):
defines = []
libs = ['tier0','tier1']
linkflags = []
if bld.env.DEST_OS == 'android':
libs += ['ANDROID_SUPPORT']
elif bld.env.DEST_OS == 'darwin':
libs += ['ICONV', 'COREFOUNDATION', 'CORESERVICES']
libs += ['ICONV', 'COREFOUNDATION']
linkflags += ['-framework', 'CoreServices']
install_path = bld.env.LIBDIR
@@ -64,6 +66,7 @@ def build(bld):
includes = includes,
defines = defines,
use = libs,
linkflags = linkflags,
install_path = install_path,
subsystem = bld.env.MSVC_SUBSYSTEM,
idx = bld.get_taskgen_count()