Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e31fb2a4
Commit
e31fb2a4
authored
Mar 05, 2014
by
Luca Barbato
Committed by
Felix Paul Kühne
Mar 05, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib/bootstrap: improve xcrun handling
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
7e8b856b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
contrib/bootstrap
contrib/bootstrap
+11
-1
No files found.
contrib/bootstrap
View file @
e31fb2a4
...
...
@@ -171,7 +171,11 @@ check_ios_sdk()
check_macosx_sdk
()
{
[
-z
"
${
OSX_VERSION
}
"
]
&&
echo
"OSX_VERSION not specified, assuming 10.7"
&&
OSX_VERSION
=
10.7
if
[
-z
"
${
OSX_VERSION
}
"
]
then
OSX_VERSION
=
`
xcrun
--show-sdk-version
`
echo
"OSX_VERSION not specified, assuming
$OSX_VERSION
"
fi
if
test
-z
"
$SDKROOT
"
then
SDKROOT
=
`
xcode-select
-print-path
`
/Platforms/MacOSX.platform/Developer/SDKs/MacOSX
$OSX_VERSION
.sdk
...
...
@@ -184,6 +188,12 @@ check_macosx_sdk()
SDKROOT
=
`
xcode-select
-print-path
`
/SDKs/MacOSX
$OSX_VERSION
.sdk
echo
"SDKROOT not found at
$SDKROOT_NOT_FOUND
, trying
$SDKROOT
"
fi
if
[
!
-d
"
${
SDKROOT
}
"
]
then
SDKROOT_NOT_FOUND
=
"
$SDKROOT
"
SDKROOT
=
`
xcrun
--show-sdk-path
`
echo
"SDKROOT not found at
$SDKROOT_NOT_FOUND
, trying
$SDKROOT
"
fi
if
[
!
-d
"
${
SDKROOT
}
"
]
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment