From 22c900da082aea1d6615cfa36cb1d0591ffff139 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 4 Sep 2014 19:35:24 +0200 Subject: [PATCH] Hack for supporting Boost on Homebrew --- lib.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib.mk b/lib.mk index 56e162d50..8b109e2ce 100644 --- a/lib.mk +++ b/lib.mk @@ -40,6 +40,14 @@ ifeq ($(BUILD_SHARED_LIBS), 1) endif +# On MacOS X, some boost libraries have an -mt suffix +ifeq ($(OS), Darwin) + ifndef NIX_STORE + BOOST_SUFFIX = -mt + endif +endif + + # Pass -g if we want debug info. BUILD_DEBUG ?= 1