about summary refs log tree commit diff
path: root/lib.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-04T17·35+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-04T17·36+0200
commit22c900da082aea1d6615cfa36cb1d0591ffff139 (patch)
tree5905f7b77787da750473dc358bb509e5a0283a07 /lib.mk
parent2aa93858afee22e0c32d8f4366970976374091ac (diff)
Hack for supporting Boost on Homebrew
Diffstat (limited to 'lib.mk')
-rw-r--r--lib.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib.mk b/lib.mk
index 56e162d5007c..8b109e2ce8da 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