mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
wscript: remove multicheck for win32 libs, remove sdl2 checking from main wscript
This commit is contained in:
parent
bc56ce754b
commit
869b684536
15
wscript
15
wscript
@ -120,8 +120,6 @@ def configure(conf):
|
|||||||
else:
|
else:
|
||||||
conf.env.BIT32_MANDATORY = False
|
conf.env.BIT32_MANDATORY = False
|
||||||
conf.load('force_32bit')
|
conf.load('force_32bit')
|
||||||
if conf.env.DEST_OS != 'android' and not conf.options.DEDICATED:
|
|
||||||
conf.load('sdl2')
|
|
||||||
|
|
||||||
linker_flags = {
|
linker_flags = {
|
||||||
'common': {
|
'common': {
|
||||||
@ -250,11 +248,11 @@ def configure(conf):
|
|||||||
# Usually, they are always available
|
# Usually, they are always available
|
||||||
# but we need them in uselib
|
# but we need them in uselib
|
||||||
a = map(lambda x: {
|
a = map(lambda x: {
|
||||||
'features': 'c',
|
# 'features': 'c',
|
||||||
'message': '...' + x,
|
# 'message': '...' + x,
|
||||||
'lib': x,
|
'lib': x,
|
||||||
'uselib_store': x.upper(),
|
# 'uselib_store': x.upper(),
|
||||||
'global_define': False,
|
# 'global_define': False,
|
||||||
}, [
|
}, [
|
||||||
'user32',
|
'user32',
|
||||||
'shell32',
|
'shell32',
|
||||||
@ -265,7 +263,10 @@ def configure(conf):
|
|||||||
'ws2_32'
|
'ws2_32'
|
||||||
])
|
])
|
||||||
|
|
||||||
conf.multicheck(*a, run_all_tests = True, mandatory = True)
|
for i in a:
|
||||||
|
conf.check_cc(**i)
|
||||||
|
|
||||||
|
# conf.multicheck(*a, run_all_tests = True, mandatory = True)
|
||||||
|
|
||||||
# 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…
x
Reference in New Issue
Block a user