mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 07:37:52 +00:00
wscript: check win32 libraries in parallel
This commit is contained in:
parent
eaf983c054
commit
fdbd1c5658
22
wscript
22
wscript
@ -249,13 +249,21 @@ def configure(conf):
|
|||||||
# Don't check them more than once, to save time
|
# Don't check them more than once, to save time
|
||||||
# Usually, they are always available
|
# Usually, they are always available
|
||||||
# but we need them in uselib
|
# but we need them in uselib
|
||||||
conf.check_cc( lib='user32' )
|
a = map(lambda x: {
|
||||||
conf.check_cc( lib='shell32' )
|
'features': 'c',
|
||||||
conf.check_cc( lib='gdi32' )
|
'message': '...' + x,
|
||||||
conf.check_cc( lib='advapi32' )
|
'lib': x
|
||||||
conf.check_cc( lib='dbghelp' )
|
}, [
|
||||||
conf.check_cc( lib='psapi' )
|
'user32',
|
||||||
conf.check_cc( lib='ws2_32' )
|
'shell32',
|
||||||
|
'gdi32',
|
||||||
|
'advapi32',
|
||||||
|
'dbghelp',
|
||||||
|
'psapi',
|
||||||
|
'ws2_32'
|
||||||
|
])
|
||||||
|
|
||||||
|
conf.multicheck(*a)
|
||||||
|
|
||||||
# indicate if we are packaging for Linux/BSD
|
# indicate if we are packaging for Linux/BSD
|
||||||
if(not conf.options.WIN_INSTALL and
|
if(not conf.options.WIN_INSTALL and
|
||||||
|
Loading…
Reference in New Issue
Block a user