mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #23424 - servo:plugin-search-path, r=ferjm
Use correct plugin search path for locally cloned gstreamer r? @ferjm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23424) <!-- Reviewable:end -->
This commit is contained in:
commit
25307c23f5
1 changed files with 3 additions and 0 deletions
|
@ -566,6 +566,9 @@ install them, let us know by filing a bug!")
|
|||
if not android and self.needs_gstreamer_env(None):
|
||||
gstpath = self.get_gstreamer_path()
|
||||
os.environ["LD_LIBRARY_PATH"] = path.join(gstpath, "lib")
|
||||
os.environ["GST_PLUGIN_SYSTEM_PATH"] = path.join(gstpath, "lib", "gstreamer-1.0")
|
||||
os.environ["PKG_CONFIG_PATH"] = path.join(gstpath, "lib", "pkgconfig")
|
||||
os.environ["GST_PLUGIN_SCANNER"] = path.join(gstpath, "libexec", "gstreamer-1.0", "gst-plugin-scanner")
|
||||
|
||||
def build_env(self, hosts_file_path=None, target=None, is_build=False, test_unit=False):
|
||||
"""Return an extended environment dictionary."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue