forked from platformio/platformio-core
Fix issue when wrong library was picked up by LDF when framework is not declared
This commit is contained in:
@ -956,7 +956,6 @@ def IsCompatibleLibBuilder(env, lb, verbose=int(ARGUMENTS.get("PIOVERBOSE", 0)))
|
|||||||
return False
|
return False
|
||||||
if (
|
if (
|
||||||
compat_mode in ("soft", "strict")
|
compat_mode in ("soft", "strict")
|
||||||
and "PIOFRAMEWORK" in env
|
|
||||||
and not lb.is_frameworks_compatible(env.get("PIOFRAMEWORK", []))
|
and not lb.is_frameworks_compatible(env.get("PIOFRAMEWORK", []))
|
||||||
):
|
):
|
||||||
if verbose:
|
if verbose:
|
||||||
|
Reference in New Issue
Block a user