Imported Upstream version 5.16.0.100

Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-08-07 15:19:03 +00:00
parent 0a9828183b
commit 7d7f676260
4419 changed files with 170950 additions and 90273 deletions

View File

@@ -56,6 +56,10 @@ Ubuntu 16.10 and Ubuntu 17.04 will require libicu57.
`sudo apt-get install libunwind8 libicu55 curl`
Ubuntu 18 will also need compatibility OpenSSL 1.0.x
`sudo apt-get install libunwind8 libicu60 libssl1.0-dev curl`
In addition to the above packages, the runtime versions of the packages listed
in the native section should also be installed (this happens automatically on
most systems when you install the development packages).
@@ -102,6 +106,25 @@ 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/
```
Alternatively, to avoid modifying /usr/local/ you can invoke cmake with the `OPENSSL_ROOT_DIR` env var set. The value to be passed in the directory where openssl is installed. Use `brew info openssl` to determine it. For example:
```
$brew info openssl
openssl: stable 1.0.2l (bottled) [keg-only]
SSL/TLS cryptography library
https://openssl.org/
/usr/local/Cellar/openssl/1.0.1f (1,229 files, 10.8MB)
Poured from bottle on 2014-01-20 at 19:25:30
/usr/local/Cellar/openssl/1.0.1g (1,229 files, 10.6MB)
Poured from bottle on 2014-04-07 at 11:26:41
```
With the above example, we'd pick the latest version `1.0.1g` and invoke cmake like the following:
```
OPENSSL_ROOT_DIR="/usr/local/Cellar/openssl/1.0.1g cmake
```
### Known Issues
If you see errors along the lines of `SendFailure (Error writing headers)` you may need to import trusted root certificates: