Skip to content

Commit

Permalink
Add compatibility with Macports
Browse files Browse the repository at this point in the history
  • Loading branch information
elafargue authored and jopohl committed Apr 2, 2019
1 parent 0a624a5 commit 7e639b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/urh/dev/native/ExtensionHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ def get_device_extensions_and_extras(library_dirs=None):
if sys.platform == "darwin":
# On Mac OS X clang is by default not smart enough to search in the lib dir
# see: https://github.com/jopohl/urh/issues/173
if os.path.isdir("/opt/local/lib"):
library_dirs.append("/opt/local/lib")
library_dirs.append("/usr/local/lib")
if os.path.isdir("/opt/local/include"):
include_dirs.append("/opt/local/include")

result = []

Expand Down

0 comments on commit 7e639b9

Please sign in to comment.