Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

Commit 5848861

Browse files
authored
Merge pull request Tarsnap#101 from Tarsnap/building-notes-fix
doc: replace LDADD -> LDFLAGS in OSX instructions
2 parents 8e5f7ee + 209a1af commit 5848861

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

BUILDING

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ Platform-specific notes
1414

1515
- On OS X, the version of OpenSSL included with the operating
1616
system is outdated (0.9.8) and deprecated, and it is recommended
17-
that spiped be built with an updated version of OpenSSL. On OS X
17+
that scrypt be built with an updated version of OpenSSL. On OS X
1818
10.11 "El Capitan" and higher, OpenSSL was removed entirely. After
1919
installing a newer version of OpenSSL, use
2020
CPPFLAGS="-I /path/to/openssl/headers"
21-
LDADD="-L /path/to/openssl/lib"
22-
to build spiped.
21+
LDFLAGS="-L /path/to/openssl/lib"
22+
to build scrypt.
2323

2424
In particular, if you installed OpenSSL using homebrew, you may
25-
add these lines to your $HOME/.profile file:
25+
pass the relevant directories directly to ./configure:
26+
./configure CPPFLAGS="-I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/openssl/lib"
27+
28+
Alternatively, you may with to add these lines to your $HOME/.profile file:
2629
export CPPFLAGS="-I/usr/local/opt/openssl/include $CPPFLAGS"
2730
export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
2831
and then close & re-open your terminal window.

0 commit comments

Comments
 (0)