Improved handling of library dependencies specified in `library.json` manifest // Resolve #814

This commit is contained in:
Ivan Kravets committed 2016-10-26 18:35:43 +03:00
1 parent 2ec0bbb023
commit c2bf38f873
8 files changed
+68 -47

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ for var in ("BUILD_FLAGS", "SRC_BUILD_FLAGS", "SRC_FILTER", "EXTRA_SCRIPT",
env[var] = environ.get(k)
# Parse comma separated items
for opt in ("LIB_DEPS", "LIB_IGNORE", "LIB_EXTRA_DIRS"):
for opt in ("PIOFRAMEWORK", "LIB_DEPS", "LIB_IGNORE", "LIB_EXTRA_DIRS"):
if opt not in env:
continue
env[opt] = [l.strip() for l in env[opt].split(", ") if l.strip()]