diff options
-rw-r--r-- | config/Make.rules.Darwin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/Make.rules.Darwin b/config/Make.rules.Darwin index b2815e3ca0c..e97883697cf 100644 --- a/config/Make.rules.Darwin +++ b/config/Make.rules.Darwin @@ -26,8 +26,10 @@ iphonesimulator_ldflags = $(iphonesimulator_cppflags) iphonesimulator_configs = %xcodesdk iphonesimulator_targetdir = $(if $(filter %/build,$5),/iphonesimulator) +ifneq ($(shell command -v brew 2> /dev/null),) MCPP_HOME ?= $(shell brew --prefix mcpp) LMDB_HOME ?= $(shell brew --prefix lmdb) +endif # If building objects for a shared library, enable fPIC shared_cppflags = $(if $(filter-out program,$($1_target)),-fPIC) -fvisibility=hidden |