diff options
author | Tomas Weinfurt <tweinfurt@yahoo.com> | 2017-06-20 16:05:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-20 16:05:20 -0700 |
commit | d43491dda8f83586f4f4d35679c67509d7920ad3 (patch) | |
tree | 75496d429d9941c55a3042c77bdc047b68e6fb42 /Documentation/building | |
parent | e7725a6ff986879f8ff2fd9e09ab636545ba7bca (diff) | |
download | coreclr-d43491dda8f83586f4f4d35679c67509d7920ad3.tar.gz coreclr-d43491dda8f83586f4f4d35679c67509d7920ad3.tar.bz2 coreclr-d43491dda8f83586f4f4d35679c67509d7920ad3.zip |
Update building documentation for osx/macOS (#12366)
* Update osx-instructions.md
add 10.12 Sierra as minimal needed version and add some more notes for pkg-config add reference to clean.sh
Diffstat (limited to 'Documentation/building')
-rw-r--r-- | Documentation/building/osx-instructions.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/building/osx-instructions.md b/Documentation/building/osx-instructions.md index 9e6b913675..3c1c3b48d0 100644 --- a/Documentation/building/osx-instructions.md +++ b/Documentation/building/osx-instructions.md @@ -6,7 +6,7 @@ This guide will walk you through building CoreCLR on OS X. We'll start by showin Environment =========== -These instructions were validated on OS X Yosemite, although they probably work on earlier versions. Pull Requests are welcome to address other environments. +These instructions were validated on macOS 10.12. Sierra. On older versions coreFX will fail to build properly because of SSL API changes. If your machine has Command Line Tools for XCode 6.3 installed, you'll need to update them to the 6.3.1 version or higher in order to successfully build. There was an issue with the headers that shipped with version 6.3 that was subsequently fixed in 6.3.1. @@ -70,8 +70,17 @@ ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/ ln -s /usr/local/opt/openssl/lib/pkgconfig/libcrypto.pc /usr/local/lib/pkgconfig/ ln -s /usr/local/opt/openssl/lib/pkgconfig/libssl.pc /usr/local/lib/pkgconfig/ ln -s /usr/local/opt/openssl/lib/pkgconfig/openssl.pc /usr/local/lib/pkgconfig/ + +# Check pkg-config configuration +pkg-config --libs openssl + +it should show something like '-L/usr/local/Cellar/openssl/1.0.2k/lib -lssl -lcrypto' +If pkg-config is not found, run 'brew install pkg-config' ``` +If you miss a step or something changes, run clean.sh from top. cmake will cache certain parts and it may not pick up the updates. + + Build the Runtime and Microsoft Core Library ============================================ |