rdkafka-dotnet icon indicating copy to clipboard operation
rdkafka-dotnet copied to clipboard

Statically Linked version of zlib.dll / librdkafka.dll

Open wangjia184 opened this issue 9 years ago • 2 comments

I get the NuGet package and found that the zlib.dll is not statically linked to the runtime.

image

This involves an extra runtime on deployment. Can we use a statically linked version of zlib.dll in the NuGet package?

Or even better, statically link to the zlib in librdkafka.dll to avoid the extra dependency on zlib.dll.

wangjia184 avatar Dec 07 '16 08:12 wangjia184

Yes, that'd be really nice and make it easier to use.

This build is done with https://github.com/ah-/librdkafka-build, want to give it a go? I'd love to merge a PR.

ah- avatar Dec 09 '16 02:12 ah-

PR is created here : https://github.com/ah-/librdkafka-build/pull/1

Please have some test, if everything is ok. Could you please update NuGet package?

wangjia184 avatar Dec 11 '16 06:12 wangjia184