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 f322527
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
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
7 changes: 2 additions & 5 deletions prebuild/macOS/preinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ rm -f /usr/local/bin/python3-config || :

# two or more of these packages have python3 as a dependency, and --overwrite
# 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
brew install --force pkg-config cairo pango librsvg || :
brew reinstall --force giflib

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

0 comments on commit f322527

Please sign in to comment.