Commit 9cfb4675 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

cerbero: Skip some obviously wrong values for build tools

Part-of: <gstreamer/cerbero!480>
parent 0071999c
......@@ -876,6 +876,12 @@ class Meson (Build, ModifyEnvBase) :
# Try to detect build tools in the remaining env vars
for name, tool in build_env.items():
# Autoconf env vars, incorrectly detected as a build tool because of 'yes'
if name.startswith('ac_cv'):
continue
# Files are always executable on Windows
if name in ('HISTFILE', 'GST_REGISTRY_1_0'):
continue
if tool and shutil.which(tool[0]):
binaries[name.lower()] = tool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment