Use base name of library path instead manifest name

This commit is contained in:
Ivan Kravets
2016-08-24 20:54:54 +03:00
parent e8643528ea
commit 0751c966c4
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
import sys
VERSION = (3, 0, "0a8")
VERSION = (3, 0, "0a9")
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio"

View File

@ -131,7 +131,7 @@ class LibBuilderBase(object): # pylint: disable=too-many-instance-attributes
@property
def build_dir(self):
return join("$BUILD_DIR", "lib", self.name)
return join("$BUILD_DIR", "lib", basename(self.path))
def get_inc_dirs(self, use_build_dir=False):
return [self.build_dir if use_build_dir else self.src_dir]