forked from osmocom/wireshark
Print LC_VERSION_MIN_MACOSX for each executable and library.
svn path=/trunk/; revision=53145
This commit is contained in:
parent
5c319860fb
commit
3f385b31ab
|
@ -484,6 +484,15 @@ rpathify_file () {
|
|||
/usr/bin/install_name_tool -id $to $1
|
||||
fi
|
||||
|
||||
#
|
||||
# Show the minimum supported version of Mac OS X
|
||||
# for each executable or library
|
||||
#
|
||||
if [[ "$filetype" = "EXECUTE" || "$filetype" = "DYLIB" ]] && [[ "$VERSION" -ge "7" ]] ; then
|
||||
echo "Minimum Mac OS X version for $1:"
|
||||
otool -l $1 | grep -A3 LC_VERSION_MIN_MACOSX
|
||||
fi
|
||||
|
||||
#
|
||||
# Get the list of dynamic libraries on which this
|
||||
# file depends, and select only the libraries that
|
||||
|
|
Loading…
Reference in New Issue