mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
mach bootstrap
should also bootstrap GStreamer on Windows (#30018)
Fixes #30007.
This commit is contained in:
parent
5f2c6c09cd
commit
605bf52334
1 changed files with 2 additions and 1 deletions
|
@ -83,6 +83,7 @@ class Windows(Base):
|
||||||
print("Could not run chocolatey. Follow manual build setup instructions.")
|
print("Could not run chocolatey. Follow manual build setup instructions.")
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
|
installed_something |= self._platform_bootstrap_gstreamer(force)
|
||||||
return installed_something
|
return installed_something
|
||||||
|
|
||||||
def passive_bootstrap(self) -> bool:
|
def passive_bootstrap(self) -> bool:
|
||||||
|
@ -127,7 +128,7 @@ class Windows(Base):
|
||||||
# The installed version of GStreamer often sets an environment variable pointing to
|
# The installed version of GStreamer often sets an environment variable pointing to
|
||||||
# the install location.
|
# the install location.
|
||||||
root_from_env = os.environ.get(f"GSTREAMER_1_0_ROOT_{gst_arch_name}")
|
root_from_env = os.environ.get(f"GSTREAMER_1_0_ROOT_{gst_arch_name}")
|
||||||
if root_from_env:
|
if root_from_env and os.path.exists(os.path.join(root_from_env, "bin", "ffi-7.dll")):
|
||||||
return root_from_env
|
return root_from_env
|
||||||
|
|
||||||
# If all else fails, look for an installation in the default install directory.
|
# If all else fails, look for an installation in the default install directory.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue