civodul pushed a commit to tag 1.8
in repository guix.
commit 22c900da082aea1d6615cfa36cb1d0591ffff139
Author: Eelco Dolstra <[email protected]>
Date: Thu Sep 4 19:35:24 2014 +0200
Hack for supporting Boost on Homebrew
---
lib.mk | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/lib.mk b/lib.mk
index 56e162d..8b109e2 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