Skip to content

Commit

Permalink
Fix build on modern versions of macOS+Homebrew ;P.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Jul 4, 2024
1 parent 4bc73af commit 1f0d428
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion env/setup-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
set -e
which brew &>/dev/null || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# XXX: duplicate linux setup as much as possible (at least ninja)
brew install \
fakeroot \
rpm2cpio zstd \
Expand All @@ -10,7 +11,7 @@ brew install \
python-packaging \
groff \
autoconf autoconf-archive automake \
libtool meson \
libtool meson pkg-config \
capnp rustup-init \

rustup-init -y --no-modify-path --no-update-default-toolchain
Expand Down
4 changes: 2 additions & 2 deletions env/uname-Darwin.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ endif

prebuilt := darwin-x86_64

export PATH := /usr/local/opt/gettext/bin:$(PATH)

# XXX: consider detecting where homebrew is installed
export PATH := $(PATH):/usr/local/opt/binutils/bin
export PATH := $(PATH):/opt/homebrew/opt/binutils/bin
objcopy = objcopy

0 comments on commit 1f0d428

Please sign in to comment.