diff --git a/README.md b/README.md index 0304e219..0f08fb5c 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,11 @@ This is the Stackdriver metadata agent. 1. Install runtime dependencies: - $ brew install boost -c++11 && \ + *Note: this currently does not work with boost@1.67, which is the latest + available from Homebrew as of 2018/05/17*. + + $ brew install openssl + $ brew install boost\@1.60 -c++11 && \ (cd /usr/local/lib && ln -s libboost_thread-mt.a libboost_thread.a && \ ln -s libboost_thread-mt.dylib libboost_thread.dylib) $ brew install yajl diff --git a/src/Makefile b/src/Makefile index 12de33be..d0838e98 100644 --- a/src/Makefile +++ b/src/Makefile @@ -31,9 +31,9 @@ SED_EXTRA=-e 's/-Wall/-Wall -Wno-deprecated/' UNAME_S=$(shell uname -s) ifeq ($(UNAME_S),Darwin) - CPPFLAGS+= -I/usr/local/include + CPPFLAGS+= -I/usr/local/include -I/usr/local/opt/openssl/include CXXFLAGS+= -Wno-deprecated-declarations -Wno-c++14-extensions - LDFLAGS+= -L/usr/local/lib + LDFLAGS+= -L/usr/local/lib -L/usr/local/opt/openssl/lib SED_I+= '' SED_EXTRA+= -e \ 's/-Wall/-Wall -Wno-deprecated-declarations -Wno-unused-local-typedef/' diff --git a/test/Makefile b/test/Makefile index 645a1754..5129a492 100644 --- a/test/Makefile +++ b/test/Makefile @@ -35,9 +35,9 @@ LDLIBS=\ UNAME_S=$(shell uname -s) ifeq ($(UNAME_S),Darwin) - CPPFLAGS+= -I/usr/local/include + CPPFLAGS+= -I/usr/local/include -I/usr/local/opt/openssl/include CXXFLAGS+= -Wno-deprecated-declarations -Wno-c++14-extensions - LDFLAGS+= -L/usr/local/lib + LDFLAGS+= -L/usr/local/lib -L/usr/local/opt/openssl/lib endif # Where to find code under test.