Skip to content

Commit

Permalink
Link libmain against sodium
Browse files Browse the repository at this point in the history
This fixes:
src/libmain/shared.cc:173: undefined reference to `sodium_init'
on cygwin.
  • Loading branch information
corngood committed Dec 22, 2021
1 parent 7971c37 commit 6879e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libmain/local.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6879e53

Please sign in to comment.