Fixed an issue with a broken LDF when checking for framework compatibility // Resolve #2940

This commit is contained in:
Ivan Kravets
2019-08-23 15:45:45 +03:00
parent adde5e6a7e
commit 2eecbf966c
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,11 @@ Release Notes
PlatformIO 4.0
--------------
4.0.2 (2019-08-??)
~~~~~~~~~~~~~~~~~~
* Fixed an issue with a broken `LDF <http://docs.platformio.org/page/librarymanager/ldf.html>`__ when checking for framework compatibility (`issue #2940 <https://github.com/platformio/platformio-core/issues/2940>`_)
4.0.1 (2019-08-22)
~~~~~~~~~~~~~~~~~~

View File

@ -755,7 +755,7 @@ class PlatformIOLibBuilder(LibBuilderBase):
@property
def lib_compat_mode(self):
return self.validate_ldf_mode(
return self.validate_compat_mode(
self.env.GetProjectOption(
"lib_compat_mode",
self._manifest.get("build", {}).get(