summaryrefslogtreecommitdiff
path: root/packaging/macosx/osx-app.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-11-07 17:55:46 +0000
committerGerald Combs <gerald@wireshark.org>2013-11-07 17:55:46 +0000
commit3f385b31ab87c40927574ef28393efda948c750d (patch)
tree5bfc961d1829032105a5f7efce8d38edf86c4e96 /packaging/macosx/osx-app.sh
parent5c319860fb22dec62f57efcc9a9cdc80434a982f (diff)
downloadwireshark-3f385b31ab87c40927574ef28393efda948c750d.tar.gz
Print LC_VERSION_MIN_MACOSX for each executable and library.
svn path=/trunk/; revision=53145
Diffstat (limited to 'packaging/macosx/osx-app.sh')
-rwxr-xr-xpackaging/macosx/osx-app.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/packaging/macosx/osx-app.sh b/packaging/macosx/osx-app.sh
index a99d64428d..0336fc63d6 100755
--- a/packaging/macosx/osx-app.sh
+++ b/packaging/macosx/osx-app.sh
@@ -485,6 +485,15 @@ rpathify_file () {
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
# are in $LIBPREFIX, as those are the only ones