Keep python 2 compatibility

This commit is contained in:
Gunter Labes 2024-03-28 10:43:40 +01:00
parent de778b1232
commit 9da0fbcc23

View File

@ -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