зеркало из https://github.com/mozilla/gecko-dev.git
Bug 767403 - also match readelf case on *.so.* to fix *BSDs. r=glandium
This commit is contained in:
Родитель
e93f8758c2
Коммит
2f9178226a
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче