Skip to content

Commit

Permalink
no python from msys2
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Nov 13, 2022
1 parent 72104bc commit 95a0253
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions recipes/icu/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,7 @@ def generate(self):
# http://userguide.icu-project.org/icudata
# This is the only directly supported behavior on Windows builds.
tc.configure_args.append(f"--with-data-packaging={self.options.data_packaging}")
env = tc.environment()
msys2_bin = VirtualBuildEnv(self).vars().get("MSYS_BIN")
if msys2_bin:
env.define_path("PYTHON", unix_path(self, os.path.join(msys2_bin, "python")))
tc.generate(env)
tc.generate()

if is_msvc(self):
env = Environment()
Expand Down

0 comments on commit 95a0253

Please sign in to comment.