Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
torzdf committed Apr 3, 2024
1 parent bac9a2a commit d753d1e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,12 @@ def _check_ld_config(lib: str) -> str:
if not path:
continue

print(path)
print(lib)
retval = next((fname.strip() for fname in reversed(os.listdir(path))
if lib in fname), "")
try:

retval = next((fname.strip() for fname in reversed(os.listdir(path))
if lib in fname), "")
except:
raise ValueError(f"path {path}, lib {lib}")
if retval:
break

Expand Down

0 comments on commit d753d1e

Please sign in to comment.