Skip to content

Commit

Permalink
Use python3 instead of python binary for configuring libnode on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGro committed Oct 2, 2023
1 parent 9c0faf6 commit 7c7d9d8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions conan-recipes/libnode/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 7c7d9d8

Please sign in to comment.