Closed skeet70 closed 1 year ago
Thanks. I'll do a release with a minor bump.
The zmq build code is a mess so I'm suprised.
I'm not sure why
libzmq
'sZMQ_HAVE_STRLCPY
configure detection code doesn't work here, but I know this change fixes the issue.
Better late than never to explain this, but libzmq
's cmake
-based build system is not used at all since #17. A massively slimmed down version of it now lives in build.rs
, and we're currently running into the limitations on Glibc as well which now also provides strlcpy
since 2.38: #28.
AFAIK (not a c++ programmer) musl's libc always has
strlcpy
defined, unlike glibc. It may be possible to have this conditional outside of thetarget.contains("linux")
section, but I don't have a good way to test that. I'm not sure whylibzmq
'sZMQ_HAVE_STRLCPY
configure detection code doesn't work here, but I know this change fixes the issue.Fixes #21.