Skip to content

Commit

Permalink
Allow to clean dependent libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Aug 2, 2014
1 parent 47edfdb commit 1b75d3e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions platformio/builder/tools/platformio.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ def BuildDependentLibraries(env, src_dir):
env.Append(CPPPATH=[join("$BUILD_DIR", l) for (l, _) in deplibs])

for (libname, lsd_dir) in deplibs:
libs.append(
env.BuildLibrary(join("$BUILD_DIR", libname), join(lsd_dir,
libname)))
lib = env.BuildLibrary(
join("$BUILD_DIR", libname), join(lsd_dir, libname))
env.Clean(libname, lib)
libs.append(lib)
return libs


Expand Down

0 comments on commit 1b75d3e

Please sign in to comment.