Skip to content

Commit 164db65

Browse files
authored
Merge pull request #5218 from wasmerio/5217-fix-aarch64-build-issue-with-llvm
fix(ci): Add `brew` libs to `RUSTFLAGS` in aarch64
2 parents dbbbe29 + c1e1bc5 commit 164db65

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: .github/workflows/build.yml

+5
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ jobs:
271271
echo "${LLVM_DIR}/bin" >> $GITHUB_PATH
272272
env:
273273
LLVM_DIR: .llvm
274+
- name: Add `brew` libs to `RUSTFLAGS`
275+
if: matrix.metadata.os == 'macos-14'
276+
shell: bash
277+
run: |
278+
echo "RUSTFLAGS=-L/opt/homebrew/lib" >> $GITHUB_ENV
274279
- name: Configure LLVM (Windows)
275280
# The Custom Windows build does not contains llvm-config.exe, so need to setup manualy here
276281
if: startsWith(matrix.build, 'windows-x64') && matrix.llvm_url

0 commit comments

Comments
 (0)