diff --git a/builds/mingw32/Makefile.mingw32 b/builds/mingw32/Makefile.mingw32 index 04538d92..3d9177fc 100644 --- a/builds/mingw32/Makefile.mingw32 +++ b/builds/mingw32/Makefile.mingw32 @@ -1,6 +1,6 @@ CC=gcc CFLAGS=-Wall -Os -g -DDLL_EXPORT -DFD_SETSIZE=16384 -DZMQ_USE_SELECT -I. -LIBS=-lws2_32 -lIphlpapi +LIBS=-lws2_32 -lIphlpapi -lsodium OBJS = ctx.o reaper.o dist.o err.o \ clock.o metadata.o random.o \ diff --git a/builds/mingw32/platform.hpp b/builds/mingw32/platform.hpp index 7da07939..988d7176 100644 --- a/builds/mingw32/platform.hpp +++ b/builds/mingw32/platform.hpp @@ -38,4 +38,6 @@ #define ZMQ_HAVE_WINDOWS +#define ZMQ_USE_LIBSODIUM + #endif