Fixed issue with compilation related to other platforms. None object was iterable.

pull/683/head
Przemek Wirkus 2014-11-11 17:46:15 +00:00
parent 1d5b91549e
commit 1e73f086bc
1 changed files with 4 additions and 2 deletions

View File

@ -125,11 +125,13 @@ def build_library(src_paths, build_path, target, toolchain_name,
resources = []
for src_path in src_paths:
resources.append(toolchain.scan_resources(src_path))
# Add extra include directories / files which are required by library
# This files usually are not in the same directory as source files so
# previous scan will not include them
for inc_ext in inc_dirs_ext:
resources.append(toolchain.scan_resources(inc_ext))
if inc_dirs_ext is not None:
for inc_ext in inc_dirs_ext:
resources.append(toolchain.scan_resources(inc_ext))
# Dependencies Include Paths
dependencies_include_dir = []