restructure - Fixed missing include paths in mbed 2 project builds

pull/2896/head
Christopher Haster 2016-10-05 11:06:27 -05:00
parent 2be7207388
commit 2a58befd15
1 changed files with 1 additions and 0 deletions

View File

@ -405,6 +405,7 @@ def build_project(src_paths, build_path, target, toolchain_name,
# Extend src_paths wiht libraries_paths
if libraries_paths is not None:
src_paths.extend(libraries_paths)
inc_dirs.extend(map(dirname, libraries_paths))
# Build Directory
if clean and exists(build_path):