aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 57865bac55d..d5269de42d2 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -481,7 +481,12 @@ class CommandBase(object):
return path.join(bin_folder, "servo{}".format(BIN_SUFFIX))
def needs_gstreamer_env(self, target):
- if check_gstreamer_lib():
+ try:
+ if check_gstreamer_lib():
+ return False
+ except:
+ # Some systems don't have pkg-config; we can't probe in this case
+ # and must hope for the best
return False
if "x86_64" not in (target or host_triple()):
# We don't build gstreamer for non-x86_64 yet