diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-11-07 17:55:46 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-11-07 17:55:46 +0000 |
commit | 3f385b31ab87c40927574ef28393efda948c750d (patch) | |
tree | 5bfc961d1829032105a5f7efce8d38edf86c4e96 /packaging | |
parent | 5c319860fb22dec62f57efcc9a9cdc80434a982f (diff) | |
download | wireshark-3f385b31ab87c40927574ef28393efda948c750d.tar.gz wireshark-3f385b31ab87c40927574ef28393efda948c750d.tar.bz2 wireshark-3f385b31ab87c40927574ef28393efda948c750d.zip |
Print LC_VERSION_MIN_MACOSX for each executable and library.
svn path=/trunk/; revision=53145
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/macosx/osx-app.sh | 9 |
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 |