Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 9a22c2f

Browse files
authored
Local homebrew support (ahupp#267)
1 parent e086861 commit 9a22c2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

magic/loader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def _lib_candidates():
1414
'/opt/local/lib',
1515
'/usr/local/lib',
1616
'/opt/homebrew/lib',
17+
os.path.expanduser('~') + '/homebrew/lib'
1718
] + glob.glob('/usr/local/Cellar/libmagic/*/lib')
1819

1920
for i in paths:

0 commit comments

Comments
 (0)