From 6f7e80bbb6adf5e900e75d9b81ea5b59dafd5c29 Mon Sep 17 00:00:00 2001 From: Trey Moller Date: Wed, 14 Jun 2023 10:30:24 -0500 Subject: [PATCH] Prepend PATH to scons env --- SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/SConstruct b/SConstruct index 27ee137..42f8fc0 100644 --- a/SConstruct +++ b/SConstruct @@ -54,6 +54,7 @@ else: # Default tools with no platform defaults to gnu toolchain. # We apply platform specific toolchains via our custom tools. env = Environment(tools=["default"], PLATFORM="") +env.PrependENVPath("PATH", os.getenv("PATH")) # Default num_jobs to local cpu count if not user specified. # SCons has a peculiarity where user-specified options won't be overridden