Skip to content

Commit e48cc30

Browse files
authored
Update has_lib.js to support Apple M1 with homebrew (#1872)
* Update has_lib.js Support from Mac M1 homebrew install of `pkg-config cairo pango libpng jpeg giflib librsvg`, which installs libraries under `/opt/homebrew/` instead `/usr/local/` * Update CHANGELOG.md
1 parent d7ebfce commit e48cc30

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
1414
### Added
1515
* Added `deregisterAllFonts` method to free up memory and reduce font conflicts.
1616
### Fixed
17+
* Support Apple M1 Homebrew install that puts canvas install library files in `/opt/homebrew/lib`
1718

1819
2.8.0
1920
==================

util/has_lib.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ var SYSTEM_PATHS = [
88
'/usr/lib64',
99
'/usr/local/lib',
1010
'/opt/local/lib',
11+
'/opt/homebrew/lib',
1112
'/usr/lib/x86_64-linux-gnu',
1213
'/usr/lib/i386-linux-gnu',
1314
'/usr/lib/arm-linux-gnueabihf',

0 commit comments

Comments
 (0)