diff --git a/src/libmain/local.mk b/src/libmain/local.mk index 99da95e2797..7c87100ad36 100644 --- a/src/libmain/local.mk +++ b/src/libmain/local.mk @@ -8,7 +8,7 @@ libmain_SOURCES := $(wildcard $(d)/*.cc) libmain_CXXFLAGS += -I src/libutil -I src/libstore -libmain_LDFLAGS += $(OPENSSL_LIBS) +libmain_LDFLAGS += $(SODIUM_LIBS) $(OPENSSL_LIBS) libmain_LIBS = libstore libutil