diff options
author | Chris Webb <chris@arachsys.com> | 2021-10-23 16:49:25 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-10-23 12:16:08 -0400 |
commit | 49923376d13f1b22c0388e1b98b5943f782b4f57 (patch) | |
tree | cbfe1a8775bed5f403fb7487c240de864046f15a /Makefile | |
parent | f9f57789de567726f7cfa46bd13df4b0815d137a (diff) |
Use scrypt from libsodium
bcachefs-tools has both libscrypt and libsodium as build dependencies,
but libsodium already includes the same scrypt implementation as libscrypt,
originally written by Colin Percival.
Use the libsodium copy, dropping the extra libscrypt dependency.
Explicitly adopt the default scrypt N, r and p values from libscrypt to
avoid unintended changes in the default work parameters for bcachefs.
Signed-off-by: Chris Webb <chris@arachsys.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,7 +73,7 @@ endif CFLAGS+=$(PKGCONFIG_CFLAGS) LDLIBS+=$(PKGCONFIG_LDLIBS) -LDLIBS+=-lm -lpthread -lrt -lscrypt -lkeyutils -laio -ldl +LDLIBS+=-lm -lpthread -lrt -lkeyutils -laio -ldl LDLIBS+=$(EXTRA_LDLIBS) ifeq ($(PREFIX),/usr) |