From e2fadc35b2a2b06ddc4b9354a008388a96da9725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Mon, 2 Oct 2023 22:32:51 +0200 Subject: [PATCH] Use python3 instead of python binary for configuring libnode on Linux --- conan-recipes/libnode/all/conanfile.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/conan-recipes/libnode/all/conanfile.py b/conan-recipes/libnode/all/conanfile.py index 0eb51e0eeb5..0cb0372fcd6 100644 --- a/conan-recipes/libnode/all/conanfile.py +++ b/conan-recipes/libnode/all/conanfile.py @@ -106,14 +106,17 @@ def build(self): if self.settings.os == "Linux": args.append("--gdb") - self.run( - "python configure.py %s" % (" ".join(args)), env=["node_build_env"] - ) if self.settings.os == "Windows": + self.run( + "python configure.py %s" % (" ".join(args)), env=["node_build_env"] + ) # self.run("ninja libnode", env=["node_build_env"]) msbuild = MSBuild(self) msbuild.build("node.sln", targets=["libnode"]) else: + self.run( + "python3 configure.py %s" % (" ".join(args)), env=["node_build_env"] + ) autotools = Autotools(self) autotools.make(args=["-C out", "BUILDTYPE=%s" % self.settings.build_type], target="libnode")