mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
emit a message when falling-back to xcrun dyldinfo
This commit is contained in:
@@ -39,6 +39,7 @@ def unrpathize(filename):
|
||||
['xcrun', 'dyld_info', '-dependents', filename],
|
||||
universal_newlines=True)
|
||||
except subprocess.CalledProcessError:
|
||||
sys.stderr.write("falling back to 'xcrun dyldinfo' ...\n")
|
||||
dylibsOutput = subprocess.check_output(
|
||||
['xcrun', 'dyldinfo', '-dylibs', filename],
|
||||
universal_newlines=True)
|
||||
|
||||
@@ -63,6 +63,7 @@ def rpathize(filename):
|
||||
['xcrun', 'dyld_info', '-dependents', filename],
|
||||
universal_newlines=True)
|
||||
except subprocess.CalledProcessError:
|
||||
sys.stderr.write("falling back to 'xcrun dyldinfo' ...\n")
|
||||
dylibsOutput = subprocess.check_output(
|
||||
['xcrun', 'dyldinfo', '-dylibs', filename],
|
||||
universal_newlines=True)
|
||||
|
||||
Reference in New Issue
Block a user