Skip to content

Commit

Permalink
make: make path of executable available as user variable
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Aug 7, 2021
1 parent 42371b5 commit 49a5cf1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipes/make/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ def package(self):
def package_info(self):
self.cpp_info.libdirs = []

make = "gnumake.exe" if self.settings.os == "Windows" else "make"
make = os.path.join(self.package_folder, "bin", "gnumake.exe" if self.settings.os == "Windows" else "make")

self.user_info.make = make

make = os.path.join(self.package_folder, "bin", make)
self.output.info('Creating CONAN_MAKE_PROGRAM environment variable: %s' % make)
self.env_info.CONAN_MAKE_PROGRAM = make

0 comments on commit 49a5cf1

Please sign in to comment.