summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Webb <chris@arachsys.com>2021-10-23 16:49:25 +0100
committerKent Overstreet <kent.overstreet@gmail.com>2021-10-23 12:16:08 -0400
commit49923376d13f1b22c0388e1b98b5943f782b4f57 (patch)
treecbfe1a8775bed5f403fb7487c240de864046f15a /Makefile
parentf9f57789de567726f7cfa46bd13df4b0815d137a (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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e4f6820f..e94419fb 100644
--- a/Makefile
+++ b/Makefile
@@ -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)