fix compat mode when no framework (#4346)

fix strict compat mode when no framework
This commit is contained in:
smarq8
2022-07-09 21:50:02 +02:00
committed by GitHub
parent 25074d80d3
commit 6627fd5790

View File

@ -1048,7 +1048,7 @@ def IsCompatibleLibBuilder(env, lb, verbose=int(ARGUMENTS.get("PIOVERBOSE", 0)))
sys.stderr.write("Platform incompatible library %s\n" % lb.path)
return False
if compat_mode in ("soft", "strict") and not lb.is_frameworks_compatible(
env.get("PIOFRAMEWORK", [])
env.get("PIOFRAMEWORK", "__noframework__")
):
if verbose:
sys.stderr.write("Framework incompatible library %s\n" % lb.path)