forked from platformio/platformio-core
Fix non renamed PLATFORM variable
This commit is contained in:
1 parent
49f5c1d078
commit
e264788f8e
1 file changed
+1
-1
@@ -344,7 +344,7 @@ def GetLibBuilders(env):
|
||||
lb = LibBuilderFactory.new(env, join(libs_dir, item))
|
||||
if lb.name in env.get("LIB_IGNORE", []):
|
||||
continue
|
||||
if not lb.is_platform_compatible(env['PLATFORM']):
|
||||
if not lb.is_platform_compatible(env['PIOPLATFORM']):
|
||||
continue
|
||||
if not any([lb.is_framework_compatible(f)
|
||||
for f in env_frameworks]):
|
||||
|
||||
Reference in new issue
Block a user