Skip to content

Commit f2ec693

Browse files
committed
use **/libarchive.* per request, use any instead of list, faster
1 parent 6d4fbd8 commit f2ec693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
import pathlib
4343
for i in [ '/usr', '/usr/local', '/opt/local' ]:
4444
libdir = pathlib.Path(i) / 'lib'
45-
if list(libdir.glob('libarchive.*')):
45+
if any(libdir.glob('**/libarchive.*')):
4646
libarchivePrefix = i
4747
break
4848

0 commit comments

Comments
 (0)