From b5dd046786365374e5c66b8fdbe3718beed516be Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Thu, 5 Dec 2024 18:27:09 +0100 Subject: [PATCH] Prioritize package folder in PATH (#26116) Signed-off-by: Uilian Ries Co-authored-by: ErniGH --- recipes/mingw-w64/linux/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/mingw-w64/linux/conanfile.py b/recipes/mingw-w64/linux/conanfile.py index bd2c407d5a633..580e45942d0c5 100644 --- a/recipes/mingw-w64/linux/conanfile.py +++ b/recipes/mingw-w64/linux/conanfile.py @@ -118,7 +118,7 @@ def generate(self): # Add binutils to path. Required for gcc build. env = Environment() - env.append_path("PATH", os.path.join(self.package_folder, "bin")) + env.prepend_path("PATH", os.path.join(self.package_folder, "bin")) env.vars(self).save_script("conanbuild_package_bin_path") venv = VirtualBuildEnv(self)