about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-29 04:36:04 +0200
committerGitHub <noreply@github.com>2019-09-29 04:36:04 +0200
commit0d4afa164bd1146eeba957dfe5a784624038bc3a (patch)
tree5b8b12b0cab8a0220af390c2d5e715a881ac51ea
parentd7d7c2fce28f0fe39eec129fc29b0e78f3fb2317 (diff)
parentea347b619e36cde9965d531afda24934d2a62079 (diff)
downloadrust-0d4afa164bd1146eeba957dfe5a784624038bc3a.tar.gz
rust-0d4afa164bd1146eeba957dfe5a784624038bc3a.zip
Rollup merge of #64884 - jakevossen5:master, r=Mark-Simulacrum
Add pkg-config to dependency list if building for Linux on Linux

I got this message when building from source on Ubuntu:

```
It looks like you're compiling on Linux and also targeting Linux. Currently this
requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
could not be found. If you have OpenSSL installed you can likely fix this by
installing `pkg-config`.
```

I feel like it would be a better experience to show this in the dependencies instead of having to run into this issue.
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 96d7e938be2..495ee46a9ac 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,7 @@ or reading the [rustc guide][rustcguidebuild].
    * `curl`
    * `git`
    * `ssl` which comes in `libssl-dev` or `openssl-devel`
+   * `pkg-config` if you are on compiling on Linux and targeting Linux
 
 2. Clone the [source] with `git`: