From 4e1588c4c3f665257034583f33712e7a0db17fb3 Mon Sep 17 00:00:00 2001 From: youRFate Date: Tue, 17 Oct 2017 16:04:03 +0200 Subject: [PATCH] added note concerning issue 2788 to INSTALL --- INSTALL | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/INSTALL b/INSTALL index 5d84bb82..e244fd44 100644 --- a/INSTALL +++ b/INSTALL @@ -57,6 +57,16 @@ can cause substantial consumption of virtual address space, especially if Generally, programmer needs to tune the stack to balance memory consumption but never get into situation that stack is overflown. +Windows Builds - Static +======================= + +When linking statically with libzmq your CFLAGS and/or CPPFLAGS need to include +`-DZMQ_STATIC` otherwise `__dclspec(dllimport)` will be set for all functions +and the build will fail. + +This is a workaround for issue: +https://github.com/zeromq/libzmq/issues/2788 + Windows Builds - Wine =====================