Skip to content

Commit

Permalink
Merge ca3caf8 into 5692bdf
Browse files Browse the repository at this point in the history
  • Loading branch information
mengwong committed May 8, 2021
2 parents 5692bdf + ca3caf8 commit ec13a61
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libxmp/exempi.py
Expand Up @@ -53,8 +53,11 @@ def _load_exempi():
if path is None:
if platform.system().startswith('Darwin'):
if os.path.exists('/opt/local/lib/libexempi.dylib'):
# MacPorts starndard location.
# MacPorts standard location.
path = '/opt/local/lib/libexempi.dylib'
if os.path.exists('/opt/homebrew/lib/libexempi.dylib'):
# Homebrew standard location.
path = '/opt/homebrew/lib/libexempi.dylib'

if path is None:
raise ExempiLoadError('Exempi library not found.')
Expand Down

0 comments on commit ec13a61

Please sign in to comment.