about summary refs log tree commit diff
path: root/lib.mk
diff options
context:
space:
mode:
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