prometheus-client-c icon indicating copy to clipboard operation
prometheus-client-c copied to clipboard

Build static library

Open lavigne958 opened this issue 3 years ago • 3 comments

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)

lavigne958 avatar Jan 20 '21 13:01 lavigne958

Any update on that option please ? not doing it ?

lavigne958 avatar May 03 '21 16:05 lavigne958

I wanted that too. Did you get anywhere with your investigation?

xmcqueen avatar May 06 '21 17:05 xmcqueen

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.

xmcqueen avatar May 06 '21 22:05 xmcqueen