Skip to content

Make failing for self-created formula #3908

Discussion options

You must be logged in to vote
  • What is the reason of this awkward behavior of make?

Homebrew build shims sanitize their environment to ensure reproducible builds. One step involves dropping /usr/local as a source of include files and libraries for M1 Macs. Guess where MacFUSE installs its include files and libraries?

  • How to write the brew formula correctly in this case?

You could look at how it's done in my FUSE tap: https://github.com/gromgit/homebrew-fuse/. In short, it involves copying the MacFUSE files to a temp dir and setting various environment variables during the build process.

Or you could just brew install gromgit/fuse/sshfs-mac. 😀

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cvcore
Comment options

Answer selected by cvcore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants