aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2017-10-30 22:05:24 +0100
committerGitHub <noreply@github.com>2017-10-30 22:05:24 +0100
commitddd4af57e57f741136000ade297a52acebff1371 (patch)
treebb519c1462825ad6059293c4120a21ec435254d5 /tools
parente9e4e7ef9eaf31759dca7397c46c925b333eb4da (diff)
parent4d7780d276eaae086f6af6d898515e27a03e65b0 (diff)
Merge pull request #12979 from Memphiz/highsierra
[depends/osx] - fix the regex for finding the SDK verson ...
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac
index c1b569f30d..a1999e1f9d 100644
--- a/tools/depends/configure.ac
+++ b/tools/depends/configure.ac
@@ -265,7 +265,7 @@ case $host in
prefix=/Users/Shared/xbmc-depends
fi
- native_platform_min_version=-mmacosx-version-min=`sw_vers | grep ProductVersion | sed "s/.*:.*\(10\..*\)\..*/\1/"`
+ native_platform_min_version=-mmacosx-version-min=`sw_vers | grep ProductVersion | sed -E "s/.*:.*(10\..*)\.?.*/\1/"`
use_xcodepath=`xcode-select -print-path`
use_xcodebuild=$use_xcodepath/usr/bin/xcodebuild
use_xcode=[`$use_xcodebuild -version | grep Xcode | awk '{ print $2}'`]