prometheus-client-c
prometheus-client-c copied to clipboard
Build static library
It would be useful to introduce a new option in the CMake project to be able to build a static version of the library (prom and/or promhttp).
I will look into it see what I can do and If this works I will open a PR to propose my work (If manage to success)
Any update on that option please ? not doing it ?
I wanted that too. Did you get anywhere with your investigation?
I just looked at it. Its feasible, but bigger than you'd guess. This repo has vendored code. You'll have to check and probably update the vendored code to build static.