Skip to content

Commit 2903899

Browse files
committed
mac os
1 parent fcff825 commit 2903899

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/prebuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
npm install --ignore-scripts
170170
. prebuild/macOS/preinstall.sh
171171
cp prebuild/macOS/binding.gyp binding.gyp
172-
node-gyp rebuild -j 2
172+
OTHER_CFLAGS=-I/usr/local/include node-gyp rebuild -j 2
173173
. prebuild/macOS/bundle.sh
174174
175175
- name: Test binary

prebuild/macOS/preinstall.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ rm -f /usr/local/bin/pydoc3 || :
88
rm -f /usr/local/bin/python3 || :
99
rm -f /usr/local/bin/python3-config || :
1010

11-
xcode-select --install
12-
1311
# two or more of these packages have python3 as a dependency, and --overwrite
1412
# doesn't work to make them ignore conflicts. For now just ignore errors, yolo.
1513
brew install --force pkg-config cairo pango librsvg giflib || :

0 commit comments

Comments
 (0)