Skip to content

Commit

Permalink
Revert "Fix teh library search order in setup.py"
Browse files Browse the repository at this point in the history
This reverts commit d1f58e0.
  • Loading branch information
Antonio Valentino authored and Antonio Valentino committed May 16, 2023
1 parent eaf9ad4 commit 8295cfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -462,10 +462,10 @@ def find_directories(self, location, use_pkgconfig=False, hook=None):
directories = [None, None, None] # headers, libraries, runtime
for idx, (name, find_path, default_dirs) in enumerate(dirdata):
path = find_path(
locations
or pkgconfig_dirs[idx]
or default_dirs
pkgconfig_dirs[idx]
or hook_dirs[idx]
or locations
or default_dirs
)
if path:
if path is True:
Expand Down

0 comments on commit 8295cfd

Please sign in to comment.