Skip to content

Commit aedf80b

Browse files
committed
Merge bitcoin#569: [Docs] OSX Build - Instructions on how to make the Homebrew OpenSSL headers visible
c9b77b2 Instructions on how to make the Homebrew OpenSSL headers visible (gpdionisio) Tree-SHA512: 5a1479a286c1cfe25332065902eab008f1b51506a9594038b28b5fc8ccd175229f35df8a1c3734f3d4ae02f5f33e97218cce5b1d5f2f7b5e28abcfba562c4cda
2 parents d9b23fe + c9b77b2 commit aedf80b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

doc/build-osx.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,22 @@ Instructions: Homebrew
4747
git clone https://github.com/PIVX-Project/PIVX.git
4848
cd PIVX
4949

50-
2. Build pivxd:
50+
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).
51+
52+
export LDFLAGS+=-L/usr/local/opt/openssl/lib
53+
export CPPFLAGS+=-I/usr/local/opt/openssl/include
54+
55+
3. Build pivxd:
5156

5257
./autogen.sh
5358
./configure --with-gui=qt5
5459
make
5560

56-
3. It is also a good idea to build and run the unit tests:
61+
4. It is also a good idea to build and run the unit tests:
5762

5863
make check
5964

60-
4. (Optional) You can also install pivxd to your path:
65+
5. (Optional) You can also install pivxd to your path:
6166

6267
make install
6368

0 commit comments

Comments
 (0)