try get all .so.version files

This commit is contained in:
2024-07-18 13:45:06 -06:00
parent cc13306e2d
commit b66be91123

View File

@@ -455,9 +455,11 @@ def handle_bundled_libs(extension, prefix=''):
except:
pass
if path.exists(src_file) and src_file != "/usr/lib/x86_64-linux-gnu/libz.so":
print(f'found {src_file}')
for targ in target_dirs:
env.Install(targ, src_file)
for so in os.listdir(_dir):
if os.path.basename(src_file) in so:
print(f'found {path.join(_dir, so)')
env.Install(targ, path.join(_dir, so))
return True
return False
if check_path(path.join(lpath, prefix + lib + extension)):