mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 767403 - also match readelf case on *.so.* to fix *BSDs. r=glandium
This commit is contained in:
parent
8784cfa2dc
commit
be1e0d9e32
@ -9,6 +9,7 @@ upon that are in the same directory.
|
||||
from optparse import OptionParser
|
||||
import os
|
||||
import re
|
||||
import fnmatch
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@ -95,7 +96,7 @@ def main():
|
||||
ext = os.path.splitext(lib)[1]
|
||||
if ext == '.dll':
|
||||
func = dependentlibs_dumpbin
|
||||
elif ext == '.so':
|
||||
elif ext == '.so' or fnmatch.fnmatch(lib, '*.so.*'):
|
||||
func = dependentlibs_readelf
|
||||
elif ext == '.dylib':
|
||||
func = dependentlibs_otool
|
||||
|
Loading…
Reference in New Issue
Block a user