mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-08 09:11:37 +00:00
Preliminary support for M1 builds
NOTE: I don't have an M1 Mac, so the only testing I can do is with a non-`/usr/local` Intel Homebrew installation. This should take care of "`cc` shim forbids `/usr/local` if Homebrew not installed under `/usr/local`", which is the default setup for M1 Homebrew.
This commit is contained in:
parent
7b0c9b121c
commit
2e2f25d0dc
29 changed files with 88 additions and 16 deletions
|
|
@ -19,8 +19,9 @@ class RofsFilteredMac < Formula
|
|||
depends_on :macos
|
||||
|
||||
def install
|
||||
setup_fuse
|
||||
mkdir "build" do
|
||||
system "cmake", "..", "-DCMAKE_INSTALL_SYSCONFDIR=#{etc}", *std_cmake_args
|
||||
system "cmake", "..", "-DCMAKE_INSTALL_SYSCONFDIR=#{etc}", *fuse_cmake_args, *std_cmake_args
|
||||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue