From 4ca139ec1e64e90226fee634b3898742e542923b Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 13 May 2019 12:34:11 -0400 Subject: [PATCH] Ensure libffi pkgconfig is set up for WPT tests. --- etc/taskcluster/decision_task.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py index 7fad72e4125..cd6ef14450b 100644 --- a/etc/taskcluster/decision_task.py +++ b/etc/taskcluster/decision_task.py @@ -519,7 +519,12 @@ def macos_wpt(): ) def macos_run_task(name): task = macos_task(name).with_python2() - return with_homebrew(task, ["etc/taskcluster/macos/Brewfile-gstreamer"]) + return ( + with_homebrew(task, ["etc/taskcluster/macos/Brewfile-gstreamer"]) + .with_script(""" + export PKG_CONFIG_PATH="$(brew --prefix libffi)/lib/pkgconfig/" + """) + ) wpt_chunks("macOS x64", macos_run_task, build_task, repo_dir="repo", total_chunks=6, processes=4, chunks=[1,2,3])