How to build only static library #4495
Replies: 1 comment
-
@emasab do you have a suggestion on how to accomplish the above ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to compile librdkafka purely statically, using both zlib and openssl (they already build files like libz.z and libssl.a).
However, when I build librdkafka, it seems that I cannot prevent it from generating dynamically linked files such as .so. At the same time, because openssl dynamic libraries such as libssl.so are missing, the compilation cannot be successful.
I also simply tried to directly patch
Makefile.base
to avoid generating.so
files, but I am not very familiar with librdkafka's build script, and finally there is an integrity check that cannot be bypassed. (This is obviously the wrong way)Beta Was this translation helpful? Give feedback.
All reactions