summaryrefslogtreecommitdiff
path: root/modules/vorbis
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-06-02 13:16:42 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-06-03 11:00:10 +0200
commit7c743122172e7f32f184081f743346ad6ac5b332 (patch)
tree4f1b527a24b213ea5be40471b8e6f8db1d97a462 /modules/vorbis
parent030a26206ff70b1050c885270afce89b0430af70 (diff)
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.
Diffstat (limited to 'modules/vorbis')
-rw-r--r--modules/vorbis/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/vorbis/config.py b/modules/vorbis/config.py
index d22f9454ed..8a384e3066 100644
--- a/modules/vorbis/config.py
+++ b/modules/vorbis/config.py
@@ -1,5 +1,5 @@
def can_build(env, platform):
- return True
+ return env.module_check_dependencies("vorbis", ["ogg"])
def configure(env):