mirror of
https://github.com/servo/servo.git
synced 2025-06-29 19:43:39 +01:00
Hande systems without pkg-config
This commit is contained in:
parent
a380c5fd6e
commit
4d7d63ea95
1 changed files with 6 additions and 1 deletions
|
@ -481,7 +481,12 @@ class CommandBase(object):
|
||||||
return path.join(bin_folder, "servo{}".format(BIN_SUFFIX))
|
return path.join(bin_folder, "servo{}".format(BIN_SUFFIX))
|
||||||
|
|
||||||
def needs_gstreamer_env(self, target):
|
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
|
return False
|
||||||
if "x86_64" not in (target or host_triple()):
|
if "x86_64" not in (target or host_triple()):
|
||||||
# We don't build gstreamer for non-x86_64 yet
|
# We don't build gstreamer for non-x86_64 yet
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue