Skip to content

Commit

Permalink
nope
Browse files Browse the repository at this point in the history
  • Loading branch information
zbjornson committed Jun 23, 2024
1 parent dc23b83 commit e9c5286
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
node: [21]
canvas_tag: ["v3.0.0-rc2"] # e.g. "v2.6.1"
name: ${{ matrix.canvas_tag}}, Node.js ${{ matrix.node }}, macOS
runs-on: macos-latest
runs-on: macos-12 # macos-14+ is M1
env:
CANVAS_VERSION_TO_BUILD: ${{ matrix.canvas_tag }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions prebuild/macOS/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
'<!(node -p "require(\'node-addon-api\').include_dir")',
'<!@(pkg-config cairo --cflags-only-I | sed s/-I//g)',
'<!@(pkg-config libpng --cflags-only-I | sed s/-I//g)',
'<!@(pkg-config giflib --cflags-only-I | sed s/-I//g)',
'<!@(pkg-config pangocairo --cflags-only-I | sed s/-I//g)',
'<!@(pkg-config freetype2 --cflags-only-I | sed s/-I//g)',
'<!@(pkg-config librsvg-2.0 --cflags-only-I | sed s/-I//g)'
'<!@(pkg-config librsvg-2.0 --cflags-only-I | sed s/-I//g)',
'/opt/homebrew/Cellar/giflib/5.2.2/include'
],
'cflags+': ['-fvisibility=hidden'],
'xcode_settings': {
Expand Down
4 changes: 0 additions & 4 deletions prebuild/macOS/preinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ rm -f /usr/local/bin/python3-config || :
# doesn't work to make them ignore conflicts. For now just ignore errors, yolo.
brew install --force pkg-config cairo pango librsvg giflib || :

pkg-config giflib --cflags-only-I
brew --cellar giflib
brew --prefix giflib

pip3 install --user --break-system-packages macpack

0 comments on commit e9c5286

Please sign in to comment.