Skip to content

Commit 2a58bef

Browse files
committed
restructure - Fixed missing include paths in mbed 2 project builds
1 parent 2be7207 commit 2a58bef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/build_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ def build_project(src_paths, build_path, target, toolchain_name,
405405
# Extend src_paths wiht libraries_paths
406406
if libraries_paths is not None:
407407
src_paths.extend(libraries_paths)
408+
inc_dirs.extend(map(dirname, libraries_paths))
408409

409410
# Build Directory
410411
if clean and exists(build_path):

0 commit comments

Comments
 (0)