|
|
@ -2053,9 +2053,7 @@ class StaticLibrary(BuildTarget): |
|
|
|
environment: environment.Environment, |
|
|
|
environment: environment.Environment, |
|
|
|
compilers: T.Dict[str, 'Compiler'], |
|
|
|
compilers: T.Dict[str, 'Compiler'], |
|
|
|
kwargs): |
|
|
|
kwargs): |
|
|
|
self.prelink = kwargs.get('prelink', False) |
|
|
|
self.prelink = T.cast('bool', kwargs.get('prelink', False)) |
|
|
|
if not isinstance(self.prelink, bool): |
|
|
|
|
|
|
|
raise InvalidArguments('Prelink keyword argument must be a boolean.') |
|
|
|
|
|
|
|
super().__init__(name, subdir, subproject, for_machine, sources, structured_sources, objects, |
|
|
|
super().__init__(name, subdir, subproject, for_machine, sources, structured_sources, objects, |
|
|
|
environment, compilers, kwargs) |
|
|
|
environment, compilers, kwargs) |
|
|
|
|
|
|
|
|
|
|
|