Hack for supporting Boost on Homebrew

This commit is contained in:
Eelco Dolstra 2014-09-04 19:35:24 +02:00
parent 2aa93858af
commit 22c900da08

8
lib.mk
View file

@ -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