diff --git a/build/moz.configure/bindgen.configure b/build/moz.configure/bindgen.configure index ab3e4cfd5e5c..e1413a3633ec 100644 --- a/build/moz.configure/bindgen.configure +++ b/build/moz.configure/bindgen.configure @@ -152,7 +152,7 @@ def bindgen_libclang_path(libclang_path, clang, library_name_info, host): # To make matters complicated, clang before version 9 uses `:` # separate between paths (and `;` in newer versions) if pathsep in value: - dirs = value.split(pathsep) + candidates.extend(value.split(pathsep)) else: for part in value.split(':'): # Assume that if previous "candidate" was of length 1,