mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-03-03 01:26:01 +00:00
"Detect" macports vs homebrew
Just looks for the /opt v /usr dir, probably not very fool proof Prefers home-brew in case of conflict in detection.
This commit is contained in:
parent
f0e74cc464
commit
338a7b0001
@ -9,7 +9,16 @@
|
||||
|
||||
STATIC=yes
|
||||
CXX=c++
|
||||
DEPSDIR=/usr/local
|
||||
|
||||
MACPORTSDIR=$(wildcard /opt/local)
|
||||
HOMEBREWDIR=$(wildcard /usr/local)
|
||||
|
||||
ifneq ($(HOMEBREWDIR),)
|
||||
DEPSDIR=$(HOMEBREWDIR)
|
||||
else
|
||||
DEPSDIR=$(MACPORTSDIR)
|
||||
endif
|
||||
|
||||
|
||||
INCLUDEPATHS= \
|
||||
-I"$(CURDIR)" \
|
||||
@ -56,7 +65,7 @@ LIBS += \
|
||||
TESTDEFS += -DBOOST_TEST_DYN_LINK
|
||||
endif
|
||||
|
||||
DEFS=-DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE
|
||||
DEFS=-DMAC_OSX -DBOOST_SPIRIT_THREADSAFE
|
||||
|
||||
ifdef RELEASE
|
||||
# Compile for maximum compatibility and smallest size.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user