mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 15:59:31 +00:00
Keep python 2 compatibility
This commit is contained in:
parent
de778b1232
commit
9da0fbcc23
@ -5,7 +5,7 @@ from os.path import join
|
||||
import SCons.Conftest
|
||||
|
||||
# Based on SCons.SConf.CheckLibWithHeader()
|
||||
def CheckLibsWithSystemHeader(context, libs, header, language) -> bool:
|
||||
def CheckLibsWithSystemHeader(context, libs, header, language):
|
||||
res = SCons.Conftest.CheckLib(context, libs,
|
||||
header = "#include <%s>" % header, language = language)
|
||||
context.did_show_result = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user