Hack for supporting Boost on Homebrew
This commit is contained in:
parent
2aa93858af
commit
22c900da08
1 changed files with 8 additions and 0 deletions
8
lib.mk
8
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue