mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
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
|
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.
|
# Pass -g if we want debug info.
|
||||||
BUILD_DEBUG ?= 1
|
BUILD_DEBUG ?= 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue