Add the dont_skip attribute on dependency.

Instead of explicitly add the target associated to the toolchain
if we use `build_nodeps` option let add an attribute base ourself on it
to know if we need to add it or not.

This way, we may have other dependency we must not skip.
This commit is contained in:
Matthieu Gautier
2021-04-12 18:09:52 +02:00
parent c16a4f5111
commit 76aa746f84
5 changed files with 8 additions and 8 deletions

View File

@ -23,6 +23,7 @@ class Dependency(metaclass=_MetaDependency):
all_deps = {}
force_build = False
force_native_build = False
dont_skip = False
@classmethod
def version(cls):