macOS: Remove a version check from osx-app.sh.

In osx-app.sh, $VERSION used to hold the minor version of the OS. We no
longer set it and it's probably safe to assume that we're building on
Lion or later, so remove it.

Change-Id: I8e85cd7c2fe2162019c7c436b7865be95d4a33e2
Reviewed-on: https://code.wireshark.org/review/36039
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2020-02-05 14:52:07 -08:00
parent 26be041184
commit 9266a27264
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ rpathify_file () {
# Show the minimum supported version of macOS
# for each executable or library
#
if [[ "$filetype" = "EXECUTE" || "$filetype" = "DYLIB" ]] && [[ "$VERSION" -ge "7" ]] ; then
if [[ "$filetype" = "EXECUTE" || "$filetype" = "DYLIB" ]] ; then
echo "Minimum macOS version for $1:"
otool -l "$1" | grep -A3 LC_VERSION_MIN_MACOSX
fi