mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 10:37:13 +02:00
fix compat mode when no framework (#4346)
fix strict compat mode when no framework
This commit is contained in:
@ -1048,7 +1048,7 @@ def IsCompatibleLibBuilder(env, lb, verbose=int(ARGUMENTS.get("PIOVERBOSE", 0)))
|
|||||||
sys.stderr.write("Platform incompatible library %s\n" % lb.path)
|
sys.stderr.write("Platform incompatible library %s\n" % lb.path)
|
||||||
return False
|
return False
|
||||||
if compat_mode in ("soft", "strict") and not lb.is_frameworks_compatible(
|
if compat_mode in ("soft", "strict") and not lb.is_frameworks_compatible(
|
||||||
env.get("PIOFRAMEWORK", [])
|
env.get("PIOFRAMEWORK", "__noframework__")
|
||||||
):
|
):
|
||||||
if verbose:
|
if verbose:
|
||||||
sys.stderr.write("Framework incompatible library %s\n" % lb.path)
|
sys.stderr.write("Framework incompatible library %s\n" % lb.path)
|
||||||
|
Reference in New Issue
Block a user