Skip to content

Commit

Permalink
Fix of get library for windows (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
owerbat authored Nov 6, 2020
1 parent f5d4c9f commit ed3ccf8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def get_lib_suffix():

def walk_ld_library_path():
if IS_WIN:
ld_library_path = f"{os.environ.get('CONDA_PREFIX')}/Library/lib"
ld_library_path = os.environ.get('LIBRARY_LIB')
if ld_library_path is None:
ld_library_path = f"{os.environ.get('CONDA_PREFIX')}/Library/lib"
else:
ld_library_path = os.environ.get('LD_LIBRARY_PATH', None)

Expand Down

0 comments on commit ed3ccf8

Please sign in to comment.