Skip to content

Commit

Permalink
Fixed an issue with LDF when header files not found if "libdeps_dir" …
Browse files Browse the repository at this point in the history
…is within a subdirectory of "lib_extra_dirs" // Resolve #3311
  • Loading branch information
ivankravets committed Dec 24, 2019
1 parent 7e0fb43 commit 2f05040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ PlatformIO Core 4.0
* Fixed an issue when ``env.BoardConfig()`` does not work for custom boards in extra scripts of libraries (`issue #3264 <https://github.com/platformio/platformio-core/issues/3264>`_)
* Fixed an issue with "start-group/end-group" linker flags on Native development platform (`issue #3282 <https://github.com/platformio/platformio-core/issues/3282>`_)
* Fixed default PIO Unified Debugger configuration for `J-Link probe <http://docs.platformio.org/page/plus/debug-tools/jlink.html>`__
* Fixed an issue with LDF when header files not found if "libdeps_dir" is within a subdirectory of "lib_extra_dirs" (`issue #3311 <https://github.com/platformio/platformio-core/issues/3311>`_)

4.1.0 (2019-11-07)
~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion platformio/builder/tools/piolib.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ def process_dependencies(self): # pylint: disable=too-many-branches
if not lib_dir:
continue
for lb in self.env.GetLibBuilders():
if lib_dir not in lb:
if lib_dir != lb.path:
continue
if lb not in self.depbuilders:
self.depend_recursive(lb)
Expand Down

0 comments on commit 2f05040

Please sign in to comment.