Using shared libzmq, it seemed nothing else is need to use the draft code.
Looking at the code, I notice that ZMQ_BUILD_DRAFT_API is required so I've been trying to pass in ZMQ_BUILD_DRAFT_API via CGO_CFLAGS but so far unable to get it working. I'm unable to find any docs in zmq4 that made reference to draft built, where this is listed in goczmq[1]
I am able to statically link zmq4 with golang but unable to get the draft code path working. Currently I'm successfully build with
Using shared libzmq, it seemed nothing else is need to use the draft code.
Looking at the code, I notice that
ZMQ_BUILD_DRAFT_API
is required so I've been trying to pass inZMQ_BUILD_DRAFT_API
via CGO_CFLAGS but so far unable to get it working. I'm unable to find any docs in zmq4 that made reference to draft built, where this is listed in goczmq[1]I'm currently using libzmq with:
Any help is appreciated.
[1] https://github.com/zeromq/goczmq/commit/b9c1810fe73eb83b6fb0f643810beb1ca8bd55f4#diff-04c6e90faac2675aa89e2176d2eec7d8