forked from platformio/platformio-core
New lib_archive option to control library archiving and linking behaviour // Resolve #993
This commit is contained in:
1 parent
b929e452b0
commit
7f63928d21
5 files changed
+11
-7
No files matched your search
@@ -50,6 +50,7 @@ commonvars.AddVariables(
|
||||
("LIB_DEPS",),
|
||||
("LIB_IGNORE",),
|
||||
("LIB_EXTRA_DIRS",),
|
||||
("LIB_ARCHIVE",),
|
||||
|
||||
# board options
|
||||
("BOARD",),
|
||||
|
||||
@@ -169,7 +169,7 @@ class LibBuilderBase(object):
|
||||
|
||||
@property
|
||||
def lib_archive(self):
|
||||
return True
|
||||
return self.env.get("LIB_ARCHIVE", "") != "false"
|
||||
|
||||
@staticmethod
|
||||
def validate_ldf_mode(mode):
|
||||
|
||||
Reference in new issue
Block a user