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)