diff options
author | Joe George <joe@zeroc.com> | 2021-06-14 13:35:55 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2021-06-14 13:35:55 -0400 |
commit | 2b51d288c706454e5cfc4c9cd5332f14af725201 (patch) | |
tree | 1180c23ba70df2d78a988c4cb757bd9dbda18781 | |
parent | Restore binary compatibility with 3.7.5 (diff) | |
download | ice-3.7.6-rc1.tar.bz2 ice-3.7.6-rc1.tar.xz ice-3.7.6-rc1.zip |
Add conditional check for brew in Make.rules.Darwinv3.7.6-rc1
-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 |