From c9b77b2dc19e195a6491bb905789e3e463d9aa78 Mon Sep 17 00:00:00 2001 From: gpdionisio <gianpiero.dionisio@protonmail.ch> Date: Wed, 14 Mar 2018 23:41:23 +0100 Subject: [PATCH] Instructions on how to make the Homebrew OpenSSL headers visible --- doc/build-osx.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/build-osx.md b/doc/build-osx.md index ff10c2a3f9d08..103cbe54d3e3a 100644 --- a/doc/build-osx.md +++ b/doc/build-osx.md @@ -47,17 +47,22 @@ Instructions: Homebrew git clone https://github.com/PIVX-Project/PIVX.git cd PIVX -2. Build pivxd: +2. Make the Homebrew OpenSSL headers visible to the configure script (do ```brew info openssl``` to find out why this is necessary, or if you use Homebrew with installation folders different from the default). + + export LDFLAGS+=-L/usr/local/opt/openssl/lib + export CPPFLAGS+=-I/usr/local/opt/openssl/include + +3. Build pivxd: ./autogen.sh ./configure --with-gui=qt5 make -3. It is also a good idea to build and run the unit tests: +4. It is also a good idea to build and run the unit tests: make check -4. (Optional) You can also install pivxd to your path: +5. (Optional) You can also install pivxd to your path: make install