aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-08-07 21:06:13 -0500
committerGitHub <noreply@github.com>2016-08-07 21:06:13 -0500
commitfab2ab8b9e2c7f7a200f11a2b0ead259beac97df (patch)
treeccfd8d31edf4af70e46a4866255a79f4b92e310f
parentaa900b91aa9417b6aa032b4eff878f2916c480f0 (diff)
parent372c6bf8f47ecabfe816b3c1a14e0b480dc2e2a5 (diff)
downloadservo-fab2ab8b9e2c7f7a200f11a2b0ead259beac97df.tar.gz
servo-fab2ab8b9e2c7f7a200f11a2b0ead259beac97df.zip
Auto merge of #12740 - changm:readme, r=pcwalton
Update readme to tell users how to overcome compile error on OS X <!-- Please describe your changes on the following line: --> Just updates the README.md on how to get libavformat to link correctly on OS X for some systems. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ X] `./mach build -d` does not report any errors - [ X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ X] These changes do not require tests because it's a readme. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12740) <!-- Reviewable:end -->
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0680dc2fa91..fb215bd510b 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,16 @@ brew install openssl
brew link --force openssl
```
+If you get this error:
+``` sh
+"Couldn't find libavformat", do the following:
+
+brew uninstall ffmpeg
+brew install ffmpeg --build-from-source
+./mach clean
+./mach build
+```
+
If you've already partially compiled servo but forgot to do this step, run ./mach clean, link openssl, and recompile.
On Debian-based Linuxes: