mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
add "*.so.*" case to util.find_lib
The actual libc name in musl is: libc.musl-x86_64.so.1 this case should handle it.
This commit is contained in:
parent
499dcd4021
commit
e150ca4ff8
@ -659,7 +659,7 @@ def _findWalk_ldpath(name):
|
||||
if _is_elf(f):
|
||||
return os.path.basename(f)
|
||||
prefix = os.path.join(d, 'lib'+name)
|
||||
for suffix in ['so', 'so.*']:
|
||||
for suffix in ['so', 'so.*', '*.so.*']:
|
||||
for f in glob('{0}.{1}'.format(prefix, suffix)):
|
||||
if _is_elf(f):
|
||||
return os.path.basename(f)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user