From 1eae742111fdcedfef27f41e586e52cd736198c8 Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Sun, 10 Jul 2016 12:35:17 +0200 Subject: [PATCH] Add info about avoiding libressl linker warnings --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8496d2c4..eb3a13da 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,13 @@ To install using [homebrew][] run: In practice `hg` ([mercurial][]) is only required for the SCM library’s tests so you can skip this dependency if you don’t mind a failing test. +If you want to avoid the libressl linker warnings about being built for different deployment target then run `brew edit libressl` and make the following change: + + - system "./configure", *args + + system "env", "LDFLAGS=-mmacosx-version-min=10.8", "CFLAGS=-mmacosx-version-min=10.8", "./configure", *args + +Afterward you must rebuild using: `brew reinstall --build-from-source libressl` + ## Building from within TextMate You should install the [Ninja][NinjaBundle] and [CxxTest][] bundles. Both can be installed via _Preferences_ → _Bundles_.