From 43941052a94cf6e5f62be3802f46aa03bef74d07 Mon Sep 17 00:00:00 2001 From: Kos Date: Thu, 22 Dec 2016 14:25:00 +0800 Subject: [PATCH] add link libsodium.a --- builds/mingw32/Makefile.mingw32 | 2 +- builds/mingw32/platform.hpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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