summaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r--platform/x11/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index eb71ac7409..554a461d1b 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -164,6 +164,9 @@ def configure(env):
env["libvorbis"] = "system" # Needed to link against system libtheora
env.ParseConfig('pkg-config theora theoradec --cflags --libs')
+ if (env["libvpx"] == "system"):
+ env.ParseConfig('pkg-config vpx --cflags --libs')
+
if (env["libvorbis"] == "system"):
env["libogg"] = "system" # Needed to link against system libvorbis
env.ParseConfig('pkg-config vorbis vorbisfile --cflags --libs')