Skip to content

Commit

Permalink
Add paths for homebrew on M1 Mac / Apple Silicon (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie authored May 24, 2022
1 parent 7ddf54b commit e72584f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/urh/dev/native/ExtensionHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ def get_device_extensions_and_extras(library_dirs=None, include_dirs=None):
library_dirs.insert(0, os.path.realpath(os.path.join(cur_dir, "lib/shared")))

if sys.platform == "darwin":
include_dirs.append("/usr/local/include")
library_dirs.append("/usr/local/lib")
for prefix in ["/usr/local", "/opt/homebrew"]:
include_dirs.append(prefix + "/include")
library_dirs.append(prefix + "/lib")

result = []

Expand Down

0 comments on commit e72584f

Please sign in to comment.