SCons: Validate dependencies for linked multimedia modules

This is still a bit hacky and eventually we should rework the way we handle
optional dependencies (especially with regard to builtin/system libs), but
it's a simple first step.

Fixes #39219.
This commit is contained in:
Rémi Verschelde
2020-06-02 13:16:42 +02:00
parent 030a26206f
commit 7c74312217
6 changed files with 38 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
def can_build(env, platform):
return True
return env.module_check_dependencies("vorbis", ["ogg"])
def configure(env):